Code:
function topic1(){
<span onClick="topic1()">
window.open("../topic1.htm","topic1");
}
^^ Is invalid for one. You can't nest HTML in JavaScript code.
By default, the window.open() function opens in a new window regardless. Although what pcbrainbuster said is correct, you should just do a link:
Code:
<a href="../topic1.htm">...
Some people may not be able to see JavaScript (their browser may think it to be a virus of some sort - in IE 5 happens all the time), and that's why you try to avoid it in places where you can.
Bookmarks