WordPress.org

Ready to get started?Download WordPress

Forums

FancyBox for WordPress
Opening iframe based on href selector. (1 post)

  1. dorich
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic