jQuery UI Widgets Forums Dialogs and Notifications Window Warning window !!

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Warning window !! #59164

    Adarsha
    Participant

    Hi,

    I have a page which has scrolling as my data is bit lengthy. Now, when i am in TOP of the page, if i make any mistakes in entering values i display a warning window. Which displays exactly at the center of top page and this is fine!

    Now, when I’m done at TOP page and scroll down and input some values and for any mistakes again the warning window should display and it is displayed.
    But, the warning window is displayed at the center to the screen when i was at top (before scrolling) since the DIV is declared once and i am calling again and again.

    The warning window thinks am still at the top page and display at the center of before scrolling even though I scrolled down. Due to this, the warning window some times invisible when I am at bottom of the page. But it is visible when I go to the top and have to click Ok and scroll down and then continue further.

    Do I need to keep declaring DIV’s and windows to display at the center?

    Warning window !! #59215

    Dimitar
    Participant

    Hello Adarsha,

    You can achieve your required behaviour if you set the window’s position CSS property to “fixed”, i.e.:

    <div id="window" style="position: fixed;">

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.