WordPress.org

Support

Support » Plugins and Hacks » most basic fancybox usage

most basic fancybox usage

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH

    @ravanh

    That code will bind fancybox to the element but it does not trigger an actual click event. You would need something like this maybe:

    jQuery('#element-id').fancybox().trigger('click');

    But it all depends on what that element actually is… Is it a link to your inline content? Then just give it a id=”fancybox-auto” instead and activate the Auto-open feature in the FancyBox settings.

    Read ‘Can I make an image or hidden content to pop up in FancyBox on page load?’ on http://wordpress.org/extend/plugins/easy-fancybox/faq/ for more…

Viewing 1 replies (of 1 total)
  • The topic ‘most basic fancybox usage’ is closed to new replies.