Page 1 of 1

Master - Frame place holder

Posted: Sun Feb 18, 2018 7:46 pm
by alex4orly
Please have a look here - http://probusashburton.org.au/homepage.html

click the icon of th epeople sitting around the table. I am using a Light box to show the content
can I set the Light box to width : 80% instead of specifying it in pixels?

Cheers

Re: Master - Frame place holder

Posted: Sun Feb 18, 2018 9:29 pm
by Pablo
No, it looks like this is not supported:
http://fancybox.net/api

Re: Master - Frame place holder

Posted: Sun Feb 18, 2018 10:13 pm
by alex4orly
OK, can that be done with a Pop-Up window instead?

Thanks

Re: Master - Frame place holder

Posted: Mon Feb 19, 2018 6:55 am
by Pablo
It may be possible with one of the other lightboxes, but you will have to try yourself:
http://wysiwygwebbuilder.com/lightboxes.html

Re: Master - Frame place holder

Posted: Mon Feb 19, 2018 7:05 am
by alex4orly
I am using the lightbox to load a PDF document, NOT pictures
That's why I thought of a Popup window, or maybe a JQ modal window?

Re: Master - Frame place holder

Posted: Mon Feb 19, 2018 7:25 am
by Pablo
A jQuery Modal is responsive but not flexible.
So, you can give it different sizes in breakpoints, but it cannot use percentages.

Re: Master - Frame place holder

Posted: Mon Feb 19, 2018 7:36 am
by alex4orly
That's probably the best option, but
How do I make it to poup on the click of the button? I supose I can insert it into another html page to be loaded?
And can This object be set to load a PDF document into itself?
How?

Re: Master - Frame place holder

Posted: Mon Feb 19, 2018 8:14 am
by Pablo
You can use events to trigger a jQuery dialog.