(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    The javascript drop down menu 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 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 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:
Bootstrap Offset Usage Bootstrap Radio Set  |  Bootstrap Clearfix Style  |  Bootstrap Menu Responsive  |  Bootstrap Header Example  |  Bootstrap Sidebar Dropdown  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Generator | AI Website Builder | AI website design generator | AI web page design generator