PDA

View Full Version : Frame Link ??


Sven
08-11-2006, 03:51 AM
1) Script Title: javascript (exmplmenu_var.js) from your Website

2) Script URL http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

Describe problem:

----- Menu2=new Array("3 Wochen Ferien","blank.htm","",10); ---
Sample: Menu1=new Array("Home","javascript:top.document.location.href='INDEX.html';","",0,20,115);



I have some Website with Frames. The Menu is in the Leftsite.The problem is the Link (!! target !!) i can't say target="haupt" to open the Site in the middle

Thanks for help.

jscheuer1
08-11-2006, 08:59 AM
Try:

Menu1=new Array("Home","javascript:top.document.haupt.location.href='INDEX.html';","",0,20,115);

or:

Menu1=new Array("Home","javascript:top.document['haupt'].location.href='INDEX.html';","",0,20,115);

or:

Menu1=new Array("Home","javascript:top.document['haupt'].src='INDEX.html';","",0,20,115);

or:

Menu1=new Array("Home","javascript:window.open('INDEX.html','haupt');","",0,20,115);