Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 19, 2012 05:01 AM by asteranup
Member
180 Points
469 Posts
Nov 16, 2012 10:49 AM|LINK
Hi,
I want to display Fancy Box according to the size of the monitor screen.
I just want to display 75% width of the screen?
How do I do it?
Thanks
Contributor
2066 Points
416 Posts
Nov 16, 2012 02:12 PM|LINK
CSS3 Media Queries may help
http://ie.microsoft.com/testdrive/HTML5/CSS3MediaQueries/
Regards
Star
13789 Points
2449 Posts
MVP
Nov 16, 2012 03:49 PM|LINK
Catch the click event, then fire off fancybox passing in a width and height equal to 75% of the screen.
All-Star
30184 Points
4906 Posts
Nov 19, 2012 05:01 AM|LINK
You can use $.fancybox.resize method for this purpose.
robinspaul
Member
180 Points
469 Posts
How to Resize Fancy Box according to Screen Size?
Nov 16, 2012 10:49 AM|LINK
Hi,
I want to display Fancy Box according to the size of the monitor screen.
I just want to display 75% width of the screen?
How do I do it?
Thanks
Gaspard
Contributor
2066 Points
416 Posts
Re: How to Resize Fancy Box according to Screen Size?
Nov 16, 2012 02:12 PM|LINK
CSS3 Media Queries may help
http://ie.microsoft.com/testdrive/HTML5/CSS3MediaQueries/
Regards
Motley
Star
13789 Points
2449 Posts
MVP
Re: How to Resize Fancy Box according to Screen Size?
Nov 16, 2012 03:49 PM|LINK
Catch the click event, then fire off fancybox passing in a width and height equal to 75% of the screen.
asteranup
All-Star
30184 Points
4906 Posts
Re: How to Resize Fancy Box according to Screen Size?
Nov 19, 2012 05:01 AM|LINK
You can use $.fancybox.resize method for this purpose.
Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog