- This topic has 1 reply, 2 voices, and was last updated 12 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › LightBox Ultimate – Automatically resize viewing panel based on viewport
Tagged: lightbox ultimate pdf
I have the LightBox Ultimate functionality working just fine–though I wondered, is there a way to make the viewing panel for a PDF (or anything else) open up to a size based on the user’s viewport? For example, what if I wanted the overlay to be 100% (full-screen) for any user?
For video the player automatically comes up with a fullscreen option. So the users can switch to fullscreen mode anytime if they want to.
For other content (example – PDF, image) fullscreen option doesn’t come up in the overlay window. But you can try specifying width="100%" height="100%"
in the shortcode.
Let me know how it goes.