WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Fancy-Auto not working with inline content (4 posts)

  1. james-dg
    Member
    Posted 2 years ago #

    Hey,
    I can't seem to get the fancy-auto pop up to make some inline content show up.
    Here is my code;

    <a class="fancybox-auto" href="#testboxopen"></a>
    <div style="display:none;">
    <div id="testboxopen">
    <p>It worked</p>
    </div>
    </div>

    It works perfectly when I set the href to an image but now it just doesn't seem to do anything :S
    Thanks
    ~James

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Got a link to the live example? There must be something interfering with script execution...

  3. mauriciomesquita
    Member
    Posted 1 year ago #

    to display an iframe automatically use

    <a id="fancybox-auto" class="fancybox-iframe {width:510,height:310}" href="url"></a>

  4. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Ah! Good spot, mauriciomesquita. It should be id= instead of class= ... Bit late for the original poster though ;(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic