Page 1 of 1
LightBox - Fancybox scroll bar
Posted: Sat May 16, 2020 7:43 am
by alex4orly
I am using a light box object to display a page inside an iFrame
The iFrame is set to have its own scrollbar if required
But, if the page is longer than what fits in the Lightbox, the lightbox itself adds its own vertical scroll bar
This creates an unwanted result... Is there a way to tell the lightbox NOT to have a scroll bar?
Thanks
Re: LightBox - Fancybox scroll bar
Posted: Sat May 16, 2020 10:01 am
by Pablo
Maybe the 'scrolling' option will solve this?
http://fancybox.net/api
Re: LightBox - Fancybox scroll bar
Posted: Sat May 16, 2020 10:35 am
by alex4orly
I did this
Width:700,
Height:800,
scrolling:'no'
Following the manual.
It ended up eliminating both scroll bars
What other option?
Thank you
Re: LightBox - Fancybox scroll bar
Posted: Sat May 16, 2020 11:28 am
by Pablo
I'm sorry, I do not know about other options for Fancybox.
Maybe one of the other lightboxes does what you want? Each lightbox has it's own set of options.
Re: LightBox - Fancybox scroll bar
Posted: Sat May 16, 2020 11:31 pm
by rogerl
Hi Alex - There are multiple solutions, the problem being in applying one that works for you. I remember looking at this some time ago and decided the time needed for me to interpret and work out how to apply was not worth it. Just another challenge!
Have a read of this:
https://stackoverflow.com/questions/166 ... es#tab-top
Re: LightBox - Fancybox scroll bar
Posted: Sun May 17, 2020 12:22 am
by alex4orly
Thanks for the feedback
I will follow your link, maybe....
Cheers