Lightbox custom width and height

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
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Lightbox custom width and height

Post by jsgecko »

Hi,
I want to adjust the width and height for a lightbox image, but I forgot how to code width and height of the lightbox.
Any help will be appreciated.
Thank you so much.
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo »

Which lightbox are you using?
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

the menu bar
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

Here is what I entered in the settings

width:'640',
height:'641'

Thank you
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo »

These settings are for the 'fancybox' light box only.
Did you select 'fancybox' as the lightbox for the page?
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

Not fancy box. I'm using the lightbox from the menu bar
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo »

Which lightbox do you have selected in the Page Properties?
The settings are different for each lightbox.
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo »

Which lightbox do you have selected in the Page Properties?
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

magnificpopup
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo »

magnificpopup does not support width and height, you will need to select 'fancybox'
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

I changed the page properties to fancybox.

In settings I entered

width:'640',
height:'641'

Is the code correct?
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo »

I think it should be

Code: Select all

width: 640,
height: 641
See also:
http://fancybox.net/api
jsgecko
 
 
Posts: 12
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko »

Thank you Pablo. It works! :)
Post Reply