hi guys,
here maybe some usefull code for detecting external links automatically without setting rel=external or target=_blank or something else.... :wink:
$(document).ready(function() {
$('a:not(.nojqueryanchor):not(:has(img))').filter(function() { return
this.hostname && this.hostname !== location.hostname; }).after('
').attr('target', '_blank');});
for XHTML strict use something like this instead of .attr('target', '_blank') :
.click(function() {
window.open(this.href);
return false;
regards martin
Also it could be done that same JQ code adds "open in new window" image next to link..
It looks fancy :)
cheers