Revision: 50473
Updated Code
at August 24, 2011 04:52 by leobetosouza
Updated Code
$("a[rel*='external']").each(function(){ $(this).attr({ target:"_blank", title: ($(this).attr("title")) ? "New window: " + $(this).attr("title") : "Open in new window" }); });
Revision: 50472
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 24, 2011 04:44 by leobetosouza
Initial Code
$("a[rel*='external']").each(function(){ $(this).attr({ target:"_blank", title: ($(this).attr("title")) ? "Nova janela: " + $(this).attr("title") : "Abrir em nova janela" }); });
Initial URL
Initial Description
Initial Title
Make rel external links opens in a new window with jQuery, displaying it in the link title
Initial Tags
javascript, jquery
Initial Language
jQuery