WordPress.org

Support

Support » Plugins and Hacks » Easy FancyBox » [Plugin: Easy FancyBox] jQuery("a#inline").fancybox({ 'hideOnContentClick': true

[Plugin: Easy FancyBox] jQuery("a#inline").fancybox({ 'hideOnContentClick': true

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RavanH

    @ravanh

    Hi mad, ‘hideOnContentClick’ is not an option in Easy FancyBox so I don’t know about that but the answer on http://groups.google.com/group/fancybox/browse_thread/thread/95fe04d356ccc20f?pli=1 boils down to the fact you can have only ONE instance of an ID on one page. So if you have more than one link on your page like <a id="inline">...</a> or if there are other elements using the same ID like <div id="inline"> you are asking for trouble 😉

    Plugin Author RavanH

    @ravanh

    If you want to use (Easy) FancyBox to display inline content, use the following example and carefully take not of the ID’s and href differences/cross-references/similarities:

    <a href="#inline-content" id="fancybox-inline">...</a>
    
    <div style="display:none" class="fancybox-hidden"><div id="inline-content>...</div></div>

    If you want to use more that one link (either to the same or to other inline content) like this on one page, use a CLASS instead of ID for it…

    thanks! im under pressure to launch the site, so i will experiment on this later 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Easy FancyBox] jQuery("a#inline").fancybox({ 'hideOnContentClick': true’ is closed to new replies.
Skip to toolbar