Revision: 32720
Updated Code
at April 9, 2011 03:24 by sb_01
Updated Code
$('a[rel*=external]').click( function() {
window.open(this.href);
return false;
});
// Better Solution
// thanks to: emelendez
$('body').delegate('a[rel=external]', 'click', function(){
window.open(this.href);
return false;
})
Revision: 32719
Updated Code
at April 9, 2011 03:24 by sb_01
Updated Code
$('a[rel*=external]').click( function() {
window.open(this.href);
return false;
});
// Better Solution
$('body').delegate('a[rel=external]', 'click', function(){
window.open(this.href);
return false;
})
Revision: 32718
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 1, 2010 23:31 by sb_01
Initial Code
$('a[rel*=external]').click( function() {
window.open(this.href);
return false;
});
Initial URL
Initial Description
Initial Title
Open Link in new Window
Initial Tags
javascript, jquery
Initial Language
jQuery