Sure, the links in the area from Step 1, here:
Code:
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a>'
menu1[1]='<a href="http://www.freewarejava.com">Freewarejava.com</a>'
menu1[2]='<a href="http://codingforums.com">Coding Forums</a>'
menu1[3]='<a href="http://www.cssdrive.com">CSS Drive</a>'
//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://cnn.com">CNN</a>'
menu2[1]='<a href="http://msnbc.com">MSNBC</a>'
menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a>'
are just ordinary links, you can do:
Code:
menu1[0]='<a href="http://www.javascriptkit.com" target="_blank">JavaScript Kit</a>'
as well as insert more complex javascript via an onclick event:
Code:
menu1[0]='<a href="http://www.javascriptkit.com" onclick="window.open(this.href, \'_blank\', \'width=400, height=375\');return false;">JavaScript Kit</a>'
Or you could do nothing special there, just set the base target for the page to _blank (goes in the head of the page):
HTML Code:
<base target="_blank">
Then all of the links on that page will open in a new window.
Bookmarks