javascript - Fancybox appears too low on a page with dynamic height -


my page consists of multiple divs in page's content displayed. 1 of these divs visible @ given time (chosen select box , hidden/shown in javascript). 1 of these divs taller others , not 1 appears default.

usually fancybox appears in center of page intended. however, when tall div 1 displayed, fancybox appears near bottom of page. problem gets worse tall div gets taller.

i have tried $.fancybox.center(true); had no effect.

i have fancybox appear in center of screen in cases, fancybox not seem interpret changing height of page.

thanks in advance.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -