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


 

    Is it possible for a javascript navigation bar item to have an associated "target"?

Return to Recent Questions


Q: Is it possible for a javascript navigation barr item to have an associated "target"?

What I mean is I'd like to be able to open the page in a new window, so I'd need to specify the href as well as "target=_new" (in HTML anyway).

A: You can set target parameter for all items:
var itemTarget="_blank";

Where main - is the name of the main middle frame where you want to open the link.

or for each item individually:
["Home","testlink.html", "", "", "", "_blank", "", "", "", "", "", ],






Return to Recent Questions

Related:
Bootstrap Collapse Toggle Bootstrap Pagination Responsive  |  Bootstrap Buttons Group  |  Bootstrap Modal Position  |  Bootstrap Popover Button  |  Bootstrap Input Validation  | 
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 | AI Website Generator | AI Website Builder | AI web page design generator