Opening iframe based on href selector.
-
I want to open a pop up based on the url in the link.
I added the following code to “Other Calls” tab. I’ve tested the syntax elsewhere and it appears to be correct. Any suggestions as to why this might not work.jQuery("a[href='https://www.everytrail.com/view_trip.php?trip_id=2027383']").fancybox({ 'transitionIn': 'elastic', 'transitionOut': 'elastic', 'speedIn': 600, 'speedOut': 200, 'type': 'iframe', 'height': 800 });
Thanks.
https://www.ads-software.com/extend/plugins/fancybox-for-wordpress/
- The topic ‘Opening iframe based on href selector.’ is closed to new replies.