View Full Version : How do I make a new window on a drop down menu?
Crimson
09-26-2002, 10:53 PM
Okay, here's an example of the drop down menu I'm talking about:
http://www.dynamicdrive.com/dynamicindex1/topmen4/index.htm
When I click on the links on the menu, it will open the page on the current window. How do I make it open on a new window?
Gordo
09-27-2002, 01:39 AM
Where you have your page link like "somepage.htm", try making it
"somepage.htm target=_blank"
This is in your menu_array.js file where you create the various links of your dropdowns.
You MAY need to use full-path URLs -- not sure. If so, it'd look like this:
"http://www.mysite.com/somepage.htm target=_blank"
Oh, and while it's not a big deal, you'll want to put questions about specific Dynamic Drive scripts in the Dynamic Drive forum -- it's a sub forum of this main JavaScript one.
Good luck...let us know if this doesn't solve your problem.
Crimson
09-27-2002, 07:59 AM
It worked. Thanks a lot! And I didn't know there was a sub forum to this. Sorry about that.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.