Click to See Complete Forum and Search --> : small problem


i_am_huh
07-13-2003, 12:49 AM
hey all, kind of new to dhtml so no flames please :)

im using a dhtml menu from http://www.dynamicdrive.com/dynamicindex1/topnavbar.htm

the problem im having is i need a couple of the links to open in a new window. _blank dont seem to be doing the job for me. any suggestions? here is the code im working with

dhtmlMenu = new NavBarMenu(120, 0);
dhtmlMenu.addItem(new NavBarMenuItem("link name", "http://www.whatever.com" ));
myNavBar1.addMenu(dhtmlMenu);


thanks for taking the time to read this

gil davis
07-13-2003, 09:54 AM
I don't see any provision in the script to use a target for the link. Menus like this are pretty intense, and it would be rather difficult for someone that is not familiar with the script to modify it to allow the use of a target. I would suggest contacting DynamicDrive or the script's author. Failing that, look for a script that does allow a target, like HeirMenus.

i_am_huh
07-13-2003, 12:12 PM
i came to that answer myself after about 6 hours of playing and testing it :) not to mention a few hours of beating my head into the desk to. thanks for the advice ill look into your suggestion