Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:34
Apply the menu on existing page...
Poster: Lt. RaZieL
Dated: Thursday February 6 2003 - 18:48:28 GMT
I'd like to apply the milonic menu to the main menu on my webpage http://www.stenmarks.se (it's in swedish but you'll probably get what I mean anyway) As it is now you are directed to another part of the site when you click on one of the links on the main menu. Want a sub-menu with links to pop up unstead when I click the links....
Poster: John
Dated: Monday February 10 2003 - 13:55:14 GMT
Hi -
May I politely suggest you take a look at the examples Andy has on the main menu site (http://www.milonic.co.uk/menu/). He's got examples of almost everything there with the code.
As for popping a submenu, add something like this to your main menu definition...
Code:
,"ASU Sites","show-menu=asusites",,"ASU Sites",1
Now you need to code the submenu 'asusites'...
Code:
addmenu(menu=["asusites",,,170,2,"",style1,,"left",effect,,,,,,,,"posting",,,,
,"ASU Main","http://www.asu.edu/",,"ASU Main Home Page",1
,"ASU West","http://www.west.asu.edu/",,"ASU West Home Page",1
,"GoWest","http://www.west.asu.edu/gowest/",,"GoWest (Prospective Students)",1
,"Student Affairs","show-menu=stuaff","http://www.west.asu.edu/sa/","Student Affairs Home Page",1
])
,"ASU Main","http://www.asu.edu/",,"ASU Main Home Page",1
,"ASU West","http://www.west.asu.edu/",,"ASU West Home Page",1
,"GoWest","http://www.west.asu.edu/gowest/",,"GoWest (Prospective Students)",1
,"Student Affairs","show-menu=stuaff","http://www.west.asu.edu/sa/","Student Affairs Home Page",1
])
etc.