(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 Menu Responsive Bootstrap Offset Usage  |  Bootstrap Sidebar Dropdown  |  Bootstrap Columns Mobile  |  Bootstrap Clearfix Style  |  Bootstrap Radio Set  | 
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 | Best AI Website Builder | Website Generator AI | AI web design generator | AI web page design generator