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?