WordPress.org

Support

Support » Plugins and Hacks » Easy FancyBox » [Resolved] Displaying inline content

[Resolved] Displaying inline content

  • Hi,

    I try to display inline content in a map area but I can’t make it work, when it works perfectly with images.
    In the settings page, I selected inline content and all the options.

    I would like to confirm that to display online content I use the correct code (I use it in a map area):

    <area shape="rect" coords="1120,610,1360,700" alt="1" class="fancybox-inline" href="#myID" title="the title">
    
    <div id="myID" style="width:500px;display: none">
    	<div>
    		Inline Content Goes Here<br />
    		Inline Content Goes Here<br />
    		Inline Content Goes Here<br />
    	</div>
    </div>

    Thank you for your help.

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

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

    @ravanh

    Hi nicozz, there is only one problem with that code (as far as I can see) and it is how the inline div is hidden. The div itself is hidden with a ‘display:none’ but you should in fact wrap the content in a hidden div like this:

    <div style="display: none">
    	<div id="myID" style="width:500px;height:500px;">
    		Inline Content Goes Here<br />
    		Inline Content Goes Here<br />
    		Inline Content Goes Here<br />
    	</div>
    </div>

    Oh, and give it some height too…

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Displaying inline content’ is closed to new replies.
Skip to toolbar