I have a modalpopupextender for a thumbnailgallery.
The problems I have are:
1. When the modal popups, it doesnt go in the center,
seems like it calculates the div's position from the last image that was pop-upped.
So if the new picture is another size, it doesnt get centered (untill you scroll with mouse)
This scrolling is good for updating the screen so it gets centered, but its not very nice
to be able to scroll the background page, because the modal flickers a lot when doing so.
So my second problem is to disable the page-scrolling, only when the modal is popuped.
Zavod
Member
6 Points
18 Posts
ModalPopup doesnt get centered
Aug 15, 2007 08:05 AM|LINK
I have a modalpopupextender for a thumbnailgallery.
The problems I have are:
1. When the modal popups, it doesnt go in the center,
seems like it calculates the div's position from the last image that was pop-upped.
So if the new picture is another size, it doesnt get centered (untill you scroll with mouse)
This scrolling is good for updating the screen so it gets centered, but its not very nice
to be able to scroll the background page, because the modal flickers a lot when doing so.
So my second problem is to disable the page-scrolling, only when the modal is popuped.