I would like to add the links to the top items in the javascript menu collapse
Return to Recent Questions
Q:
I have been working with on a site and I am kind stack using
the program. I want to use the tree option but not all
“buttons” need to have subcategories. For example:
Category 1
Sub-menu 1-1
Sub-menu 1-2
Sub-menu 1-3
Category 2
Sub-menu 2-1
Sub-menu 2-2
Sub-menu 2-3
Category 3
Category 4
When someone click on the “Category 1” or “Category 2”, I want
them to see the sub-menus. However, when some click on “Category 3”
or “Category 4”, I would like to have it open the appropriate page.
How do I do this? This will make a lot easier because not all
buttons need to have sub-menus… I hope that makes sense and you can
help me on getting this done.
A:
You cannot use links for the top items in XP Style only.
var tXPStyle=1;
but you can write:
["<a href='http://deluxe-menu.com'>Item 45</a>","", "", "", "", "", "", "", "", ],
Return to Recent Questions
|