(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    My html files still open in a new window in my javascript pull down menu...

Return to Recent Questions


Q: I have a problem with javascript pull down menu. I've set target parameter to "_self".
But my html files still opens in a new window.


A: Check the following parameter:
var itemTarget="_self"; //default target

You can set target parameter for each javascript pull down menu item individually.

See menuItems parameter:

var menuItems =
[
    ["Home","testlink.html","icon.gif","iconover.gif","Home Tip",target,"1"],
    ["|Our Products","testlink.html","icon1.gif","icon2.gif","Our Products Tip","_self",,"0"],
];

Try that.





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap carousel | homepage baukasten | mobiele website bouwen | website generator | HTML5 Video