|
|
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:
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
- Sep 30, 2006 - The frame below the javascript menubar is moved to the bottom of the page.
- Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
- Oct 19, 2006 - I want a javascript toolbar with all the buttons the same length.
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
- Nov 23, 2006 - Can we right justify the secondary javascript navbar?
- Nov 30, 2006 - I'm trying to simply use javascript to add some properties to my javascript menu sample.
- Dec 04, 2006 - When running navigation bar code with IE or Firefox, the background is transparent.
- Dec 17, 2006 - Some page visitors couldn’t see the javascript rollover menu.
|