width

409 views
Skip to first unread message

Adam S

unread,
May 21, 2009, 11:54:30 AM5/21/09
to fancybox
Is there a simple way to make Fancybox's width a percentage of the
viewable screen? It doesn't accept percentage as an argument.

Thanks,

Adam

JFK

unread,
May 26, 2009, 4:53:38 PM5/26/09
to fancybox
as far as I know this version doesn't support percentages;
width has to be fixed to px
Message has been deleted

Anthony

unread,
Feb 2, 2011, 7:35:22 PM2/2/11
to fanc...@googlegroups.com
Is this still the case? I only ask because the post is from 2009 so curious if something has changed since then that allows percentages.

JFK

unread,
Feb 2, 2011, 8:44:03 PM2/2/11
to fancybox
since version 1.3.x percentages are supported for iframe, swf or
inline type so these are valid options:
'width': '95%',
'height': '90%'
Reply all
Reply to author
Forward
0 new messages