Return to Snippet

Revision: 33811
at October 13, 2010 20:18 by gerhardsletten


Initial Code
jQuery(document).ready(function () {
	jQuery("a[rel='external']").each( function(i) { 
			jQuery(this).attr("target","_blank");
	});
});

Initial URL

                                

Initial Description
Add rel="external" on link you would like to open in a new window

Initial Title
Open extenal links in new window

Initial Tags
jquery

Initial Language
jQuery