The first method will replace the iframe 'I1' contents without adding to the history stack. The second will switch the iframe 'I1' to the new content and add to the history stack. The third entry is the default method the menu comes with. The fourth one opens the contents in a new window.
Code:
Menu2_1_2=new Array("ABCNews","javascript:I1.location.replace('http://www.abcnews.com')","",0);
Menu2_1_3=new Array("MSNBC","javascript:I1.location.href='http://www.msnbc.com'","",0);
Menu2_1_4=new Array("CBSNews","http://www.cbsnews.com","",0);
Menu2_1_5=new Array("Canadian News","javascript:window.open('http://news.bbc.co.uk')","",2);
Bookmarks