WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Displaying inline content (2 posts)

  1. nicozz
    Member
    Posted 1 year ago #

    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/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.