Published in: JavaScript
Open a new window without using target="_blank" for XHTML 1.1. Need jQuery Framework : http://jquery.com/
$('a[@rel$='external']').click(function(){ this.target = "_blank"; }); /* Usage: <a href="http://www.lepinskidesign.com.br/" rel="external">lepinskidesign.com.br</a> */
You need to login to post a comment.
