PDA

View Full Version : Positioning DHTML modal window



mystic7
11-02-2009, 10:07 PM
1) Script Title: DHTML Modal window v1.1

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm

3) Describe problem: When I open the modal window with a link, the embedded page will open centered on my screen. But on my friends smaller screen, if he scrolls down a bit before opening the modal window, it will open with the menu bar (where the "x" is to close the modal window) past the top of his screen, making it impossible to close the modal window unless he does a refresh.

Is there a way to always have the top of the window, i.e. the menu bar, within the boundaries of a screen?