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


 

    I didn't see any examples using a target attribute for the url in javascript menu

Return to Recent Questions


Q: I am interested in your dhtml menu product, I did not see any examples using a target attribute for the url, i.e.
<a href=http://yoursite.com/ target-"_blank">
Also if this is supported if you could send me an example of how to configure this...


A: You should use the following parameter
var itemTarget = "_self";

Please, see also individual items targets, for example:
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , "_blank", , , , ],
Change "_blank" to "" or to "_self".





Return to Recent Questions

Bootstrap Sidebar Dropdown Bootstrap Label Input  |  Bootstrap Progress bar Jquery  |  Bootstrap Clearfix Style  |  Bootstrap Radio Set  |  Bootstrap Header Example  | 
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 Builder | Best AI Website Builder | Free AI Website Generator | AI website design generator