Created
May 29, 2009 10:23
-
-
Save anonymous/119880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEvent('domready', function() { | |
var liens = document.getElements('a.blank'); | |
for (var i = 0 ; i < liens.length ; i++) { | |
liens[i].onclick = function() { | |
window.open(this.href); | |
return false; | |
}; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment