• 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='http://www.everytrail.com/view_trip.php?trip_id=2027383']").fancybox({
      'transitionIn': 'elastic',
      'transitionOut': 'elastic',
      'speedIn': 600,
      'speedOut': 200,
      'type': 'iframe',
      'height': 800
    });

    Thanks.

    http://wordpress.org/extend/plugins/fancybox-for-wordpress/

  • The topic ‘Opening iframe based on href selector.’ is closed to new replies.