Link to home
Start Free TrialLog in
Avatar of mel150
mel150

asked on

onclick open in new window

Hi,  first, please be patient-I am trying to revise an already-in-place menu, and I have no knowledge of javascript. I'll try to make this as clear as I can. Thanks. :)

 On a drop down menu, I want a link to open in a new browser window. In HTML, I would say:
<a href="www.link.com" target="new">

In the javascript, it says:
mm_menu_1208151244_0.addMenuItem("Corporate&nbsp;Brochure", "location='www.link.com' ");

 I cannot add  target="new" to this. How  can I go about making the imaginary www.link.com open in a new browser window? Thanks,

Mel150
ASKER CERTIFIED SOLUTION
Avatar of Batalf
Batalf
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mel150
mel150

ASKER

Excellent! Yep, that works exactly as I want it to. Thanks!
Glad I could help!

Batalf