(c) 2016, Deluxe-Menu.com

Home

Product Info

Samples

Download

Purchase

Support
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 Select Placeholder Bootstrap Toggle Tabs  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Bootstrap Panel Body  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  Bootstrap Tabs Styles  | 
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 | Free AI Website Builder | AI Website Generator | AI website design generator | AI web page design generator