POP DOWN MENU AND FRAMES

liunx

Guest
Hi ! <br />
Sorry to disturb u.. but i have a question concerning a navigational bar II in javascript <br />
my site has 2 frames (navigation(navig.html) + central (localmain), the bar is in the navig frame.. but i'd like the links in the menu to traget my main frame (localmain).. i 've read with thescript to add this line : <br />
<br />
javascriptarent.framename.location='http://dynamicdrive.com' <br />
<br />
..but where ?? <br />
<br />
>>> that's where i put it and it doens't work... <br />
dhtmlMenu = new NavBarMenu(110, 120); <br />
dhtmlMenu.addItem(new NavBarMenuItem("SALLES", "")); <br />
dhtmlMenu.addItem(new NavBarMenuItem("Salle Hendrix",url:javascriptarent.localmain.location="hendrix.html")); <br />
dhtmlMenu.addItem(new NavBarMenuItem("Salle Beatles","beatles.html")); <br />
dhtmlMenu.addItem(new NavBarMenuItem("Reception", "http://www.wired.com")); <br />
myNavBar1.addMenu(dhtmlMenu); <br />
i've tried different variations and it never works.. the link works fine but display the link in the top frame..i just need to know where to place the above string in the code.. <br />
thanks a lot for ur help , i'm really stuck and i need this navig bar<br />
chris<!--content-->zef666, please do not cross post your messages in seperate forums on this board. Anyone answering this thread, please post in <!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?threadid=2897">http://www.htmlforums.com/showthread.php?threadid=2897</a><!-- m --> .<br />
Thanks.<!--content-->
 
Back
Top