Apply the menu on existing page...

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Lt. RaZieL
Beginner
Beginner
Posts: 1
Joined: Thu Feb 06, 2003 7:41 pm
Contact:

Apply the menu on existing page...

Post by Lt. RaZieL »

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....
I do declare Mr. Bouregaard, you are my hero!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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: Select all

,"ASU Sites","show-menu=asusites",,"ASU Sites",1
Now you need to code the submenu 'asusites'...

Code: Select all

	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
	])
etc.
John
Post Reply