Home > jQuery > Page 2

Blog

All Posts filed under jQuery



How to launch fancybox automatically when a page is loaded

Posted on February 08, 2013 | Filed in Featured, jQuery

Put this in between the <head></head> tags. <script type=”text/javascript”> $(document).ready(function() { $(“#my_fancybox_id”).fancybox().trigger(‘click’);< }); </script> In the body/content area put in a link. Hide it if you like. <a href=”#my_content_div” id=”my_fancybox_id”>Click…


fancyBox 2.1.3: Vertical Positioning to the Top

Posted on December 15, 2012 | Filed in Featured, jQuery

To align the fancyBox viewport to the top just declare the ‘topRatio’ : 0. This will position your photo/gallery to the top of browser window. Example: <script type=”text/javascript”> $(“#springsummergallery”).click(function() {…


Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog