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

    The javascript example opens a new window although I haven't set item's target...

Return to Recent Questions


Q: So, as you can see, I use "_self" in order to make the javascript example URL open in same window when left-clicked. If I set it to empty it opens in new window (is that correct behaviour (I thought we should use _blank to get that effect).


A: In the menuItems you can set target parameter for each javascript example item individually.
The following parameter:
var itemTarget="_blank";
sets target for all items, so if you haven't specified target for the item

["Arbeidsplaner","cp_workplan.php",,,,"","0","0"],

the target for this item will be "_blank".





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. free website builder | best website builder | top website builder | Javascript Slideshow | bootstrap carousel