[Plugin: Easy FancyBox] Can you have multiple pop-ups forms on same page?
-
I am following this great tute to include a gravity form in a light box on my site – https://websitesetuppro.com/how-to-open-gravity-forms-form-in-a-lightbox/#comment-4503
It worked well, but I would actually like to have a few pop up options (register, subscribe, contact us..) on the same page, and it only seems to work for one.
This is the code I have tried, but only the first form works.
<div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1"> <?php gravity_form(37, false, false, false, '', true); ?> </div> <div id="fancyboxID-2"> <?php gravity_form(12, false, false, false, '', true); ?> </div> <div id="fancyboxID-3"> <?php gravity_form(26, false, false, false, '', true); ?> </div></div> <li id="nav-add2-05"><a href="#fancyboxID-1" class="fancybox" title=""><span>REGISTER</span></a></li> <li id="nav-add2-06"><a href="#fancyboxID-2" class="fancybox" title="Love it, hate it, let us know!"><span>CONTACT</span></a></li> <li id="nav-add2-07"><a href="#fancyboxID-3" class="fancybox" title=""><span>WIN</span></a></li>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Easy FancyBox] Can you have multiple pop-ups forms on same page?’ is closed to new replies.