jquery simplemodal question (about window overflow)

Posted by Matthew Steiner on Stack Overflow See other posts from Stack Overflow or by Matthew Steiner
Published on 2010-06-12T21:30:11Z Indexed on 2010/06/12 21:32 UTC
Read the original article Hit count: 277

Filed under:
|

I noticed that if the height of the window is too small (meaning that the modal is taller than the window is), then even scrolling up or down won't reveal more of the modal, since it is constantly centering itself to the center of the window.

Is there a good way of changing this? I have a tall modal that if someone's using a short monitor it may cause problems. Not to mention just general usability.

I would guess that somewhere in the code you can test for if the window height is less than the modal to not worry about centering it vertically?

Ideas?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about simplemodal