Ready to get started?Download WordPress


Easy FancyBox
Inline content only works as i-frame (2 posts)

  1. nogginj
    Posted 2 years ago #

    Trying to display some inline content on a page, by clicking a link in the custom wordpress nav menu.
    I'm putting the content in a couple divs just above the footer, like so...

    <div class="fancybox-hidden" >
    		<div id="contactbox" width="460" name="contactbox">
    			<?php echo do_shortcode("[si-contact-form form='1']");?>
    	</div><!-- hiddenfancybox -->

    My link links to #contactBox.
    My menu entry has a class, "fancybox" (this is on the li, not the a, as I'm sure you know).

    It will not work.
    When I change the class to "fancybox-iframe", it works. I don't want to use the iframe method though as the nested html is causing styling errors.

    Any ideas?


  2. RavanH
    Plugin Author

    Posted 2 years ago #

    Do you have a link to your site where I can see the issue?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.