Hello,

We are trying to get the modal window to stay fixed in the center of
the screen. The problem we are running into are the lines

496: var left = (width / 2) - (modalWidth / 2) + scLeft;
497: var top = (height / 2) - (modalHeight / 2) + scTop;

They are adding the scroll position to the left and top. This is a
problem in ie 7 and 8, because the modalwindow is rendered outside of
the browser viewport. Is there any sollution for this? The css that
sets the fixed is:

div.wicket-modal {
       position: fixed !Important;
       _position: absolute;
       z-index: 20001;
       visibility: hidden;
}

The position type is defaulted to "absolute" by modal.js. So the count
cannot be ignored.

Thanks in advance.


Chaviv Weinberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to