
Sub-Men-U's
-
- Beginner
- Posts: 6
- Joined: Thu Jul 25, 2002 3:29 pm
Sub-Men-U's
Hey, I was wondering if anybody has whooped the menu into submission for submenus? Particularly for version 3.4 

-
- Beginner
- Posts: 6
- Joined: Thu Jul 25, 2002 3:29 pm
Follow Andy's examples that came in the menu_array.js file when you downloaded the script. Something like this...
At the end of the "mainmenu" section of the array file you define your main menu items. Example...
,"Introduction","show-menu=careerplan","intro.htm","Introduction",1
That will show (in order) a main menu item called "Introduction", call for a sub-menu called 'careerplan', point the main menu item "Introduction" to intro.htm, put the message "Introduction" in the status bar, and add a separator bar to the menu (not all the items are required). Have as many main menu items as you need.
Next you need a sub-menu called (in this example) careerplan. Comes right below the ]) at the end of the mainmenu section. Looks something like this...
addmenu(menu=["careerplan",,,305,1,"",style1,,"left",effect,,,,,,,,,,,,
,"STEPS to Successful Career Planning - Overview","intro.htm#steps",,"The Career Planning Process",0
Again, have as many items as you need for the sub-menu, and finish each sub off with a ]) .
That help?
At the end of the "mainmenu" section of the array file you define your main menu items. Example...
,"Introduction","show-menu=careerplan","intro.htm","Introduction",1
That will show (in order) a main menu item called "Introduction", call for a sub-menu called 'careerplan', point the main menu item "Introduction" to intro.htm, put the message "Introduction" in the status bar, and add a separator bar to the menu (not all the items are required). Have as many main menu items as you need.
Next you need a sub-menu called (in this example) careerplan. Comes right below the ]) at the end of the mainmenu section. Looks something like this...
addmenu(menu=["careerplan",,,305,1,"",style1,,"left",effect,,,,,,,,,,,,
,"STEPS to Successful Career Planning - Overview","intro.htm#steps",,"The Career Planning Process",0
Again, have as many items as you need for the sub-menu, and finish each sub off with a ]) .
That help?
John