-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
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
opening iframe or inline HTML full-browser width & height #159
Comments
Theoretically, it should be possible using width: '100%', height: '100%' for the video or iframe but i'm not absolutely sure if it will work. You have to try.
But anyway, why do you need this? Wouldn't it be better to define the exact dimensions of the video that will open (e.g. full hd)? Then, lightcase will shrink the video to always fit the browser window and keep the exact ratio. |
Thank you for your reply... I will get back to you once I try/play with the suggestions. I would like to use the lightcase, at times, outside the typical lightbox UI, like a fullpane overlay, such as the SEARCH UI's you see in some sites ( Ex: Comedy central's search UI @ http://www.cc.com/ ) That's the reason why I wanted to define the display area of the canvas of the lightbox be from edge to edge, ( especially in an iframe case ), giving 0 dimmable area for the underlying window. And since I cannot guess the screen size, I could not put exact numbers. However, you've said something interesting...
Well, Then I can arbitrarily give a humangous 1600px by 900px or 3200px bt 1800px and let lightcase do the shrinking. Chances are it will be full screen! So I will try that too... But I'm not sure if that would for iframes... As to the close button. No, I was not asking whether it will be in the same place. All my worry was whether it would survive to stay on top of an fullsize iframe that is brought by the lightbox. When an iframe becomes fullscreen, the dismiss/close button of the lightcase must survive over it. That's my worry. |
Hello, is it possible for the lightcase to open an iframe OR inline in fullbrowser width and height such as width:100% & height:100%. Looks like I can define with/height in px but not in percentages, but I could be wrong.
I'm assuming that in the case of w & h @ 100%, the close/dismiss button would still live above the lighboxed content so we can close this lighbox that is taking over the entire underlying window.
Is it possible?
The text was updated successfully, but these errors were encountered: