We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See the bug on the image, this happens when the content of the popup is bigger that the screen and the page content
Fix:
function setOverlayHeight() { if ($(window).height() < $(document).height()) { $overlay.css({height: $(document).height() + 'px'}); $iframe.css({height: $(document).height() + 'px'}); } else { var heightNotContent=$self.closest(".mediaLightBox").height() +$self.closest(".mediaLightBox").height()*0.2; if ($(window).height() > heightNotContent) $overlay.css({height: '100%'}); else $overlay.css({height: heightNotContent}); if (ie6) { $('html,body').css('height','100%'); $iframe.css('height', '100%'); } // ie6 hack for height: 100%; TODO: handle this in IE7 } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See the bug on the image, this happens when
the content of the popup is bigger that the screen and the page content
Fix:
The text was updated successfully, but these errors were encountered: