Lightbox size percentage (via settings)

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
miguelss
 
 
Posts: 155
Joined: Thu Aug 15, 2013 12:25 pm
Location: Madrid, Spain

Lightbox size percentage (via settings)

Post by miguelss »

Hi WB community,

I have a doubt if I can set the size of any lightbox via settings whit a percentage of the size of the window.
I mean, instead of

width:500,
height:500

Can I create something like this?
width:75%,
height:75%

Thanks in advance!
M.
User avatar
Pablo
 
Posts: 23456
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox size percentage (via settings)

Post by Pablo »

I do not think that will work. The values must be a number.
http://fancybox.net/api
User avatar
miguelss
 
 
Posts: 155
Joined: Thu Aug 15, 2013 12:25 pm
Location: Madrid, Spain

Re: Lightbox size percentage (via settings)

Post by miguelss »

Hi @Pablo,

Thanks for your answer, and of course for the URL!
I will play with it :D

Have a nice day!
Post Reply