a nav bar question!

liunx

Guest
ya see my friend is putting a nav bar from like dymnaicdrive the drops down when ya highlight over the box. like dhtml.<br />
<br />
hes pickey and he wants to know when u click one of the links in the drop down boxes it goes to a new window. pops up to a new one. he has no idea. and needs help<!--content--><a href=http://www.htmlforums.com/archive/index.php/"urlhere" target="_blank">Your Link</a><br />
<br />
Then just enter your url and change the Your Links section.<!--content-->no, that does not work, this is the nav bar, its different, thats what makes it hard.<br />
<br />
herres a example of the link<br />
<br />
dhtmlMenu.addItem(new NavBarMenuItem("Wrestlers", "http://www.smallsports.com/bwo/wrestlers.html"));<br />
<br />
<br />
and we can't figure it out<!--content-->Have you tried looking into the documentation that came with the script? This will tell you more.<!--content-->yup, we have, still did not help<!--content-->Post the URL of the script on Dynamic Drive and i'll have a look.<!--content-->ok, i did it myself because I am a stud.<br />
<br />
dhtmlMenu.addItem(new NavBarMenuItem("site name", "javascript:window.open(url,'New')"));<br />
<br />
Thats what it should look like to pop up in another window.<!--content-->I am trying to do the exact same thing using that code, get the page to open up in a new window...but when I tried that code you gave ...<br />
<br />
dhtmlMenu.addItem(new NavBarMenuItem("site name", "javascript:window.open(<!-- m --><a class="postlink" href="http://www.site.co.uk,'New'">http://www.site.co.uk,'New'</a><!-- m -->)"));<br />
<br />
It doens't seem to work for me...am I missing something?<!--content-->
 
Back
Top