I received a question from a client who added the code in the link supplied by David and it did nothing when clicked. The form is there, if I remove the hidden class I see the form. But the link does nothing.
I tried it on a test site and it did not work. I have a lot of other plugins on that site and a fancbox implementation included with the theme, so to make things clear I setup a totally fresh WordPress install 3.3.2, Latest gravity forms 1.5.2, Fancyboxify fancybox plugin 1.1. I added an image to a post and the fancybox was launched when I clicked that. I added the code for form in fancybox. Still nothing when clicked?
I copied and pasted the code, yes my form id = 1 too.
I see this link in my html source
<a class="fancybox" href="#fancyboxID-1">Click here to enter your details</a>
on my image that does launch a fancybox I see
<a class="fancybox" rel="fancybox-10" href="http://localhost/vanilla/wp-content/uploads/2012/06/300x300-blue1.jpg">
does the fancyboxID-1 need to change?
Posted 2 years ago on Thursday June 14, 2012 | Permalink