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