I'm trying to write a cold which takes all the links in the page (within the content div) and sets their onclick to open in a new window...
I can't see why it wouldn't work...
Any takers???
Code:function linkBehaviour() { for (var j=0; j<document.getElementById(content).anchor.length; j++) { document.anchors[j].onclick = window.open(this.href); return true; } }








Bookmarks