Pop Under On Click For Rss Feed - Javascript
I want to set up the site so when users click on RSS feed links (which I display in part of the site), the feed link appears in a pop under. It makes sense on the site. It's some
Solution 1:
Not much of a jQuery guy, but this should work
$("a[href^='http']").click(function(event) {
event.preventDefault(); // prevent the link from opening directly
// open a pop for the link's url
var popup = window.open( this.href , "", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,status=no,width=1250,height=500,left=250,top=175" );
popup.blur();
window.focus();
});
Post a Comment for "Pop Under On Click For Rss Feed - Javascript"