|
|
I need to set individual itemtargets for a number of menu script items..
Return to Recent Questions
Q:
I need to set individual itemtargets for a number of menu script items......
example:-
var itemTarget="Main";
menuitem_1 targets the Main frame..
menuitem_2 ..
SUBmenuitem_2_(1) targets the Top frame..
SUBmenuitem_2_(2) targets the Main frame..
menuitem_3 ..
SUBmenuitem_3_(1) targets the Main frame..
SUBmenuitem_3_(2) targets the Bottom frame..
menuitem_4 targets the Main frame..
Is this possible?
A:
You can set target parameter for all items:
var itemTarget="_blank";
or
var itemTarget="main";
Where main - is the name of the main frame where you want to open the link.
or for each item individually:
["Home","testlink.html", "", "", "", "_blank", "", "", "", "", "", ],
...
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 18, 2006 - The submenus of the cross frame menu are offset by about 100 pixels to the right.
- Sep 22, 2006 - How to call the function in my java script menu?
|