Monday, November 17, 2014

How to use fancyBox

Tips:
  • use this tutorial: http://fancybox.net/howto
  • if it's an image
    • if the URL of the fancyBoxed doesn't end with it's extention, e.g. .png, .jpg
      • you need to specify the image type on your js: 
        • $(document).ready(function() {
                  $(".fancybox").fancybox({type : "image"});
                  });

No comments:

Post a Comment