I am building a site and I am required to have a pop-out lightbox effect for a simple contact form. I have got it to work on a page/post however I need it to work in the header. I am using a Genesis theme and need the form to show from the right header widget area.
This is the code I am using to call the form:
<div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1"> [gravityform id="1" ajax="true"] </div></div> <a href="#fancyboxID-1" class="fancybox"><img src="/lt/images/home/email-us.png"></a>
I am calling the form with an image link. The page the form is on is on my dev site here
Any help would be very useful