Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:32

URL and show menu


Poster: Flash_harry
Dated: Thursday April 24 2003 - 17:31:25 BST

Hi people,

Need to have a menu item where I can have a rollover which can go to say url1.html but which also shows a submenu which has another two choices say url2.html and url3.html.

How do I write this. At the moment I have....

addmenu(menu=["incar",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"item1","?.php",,,1
,"item2","?.php",,,1
,"item3","show-menu=next",,,1
])


Ok so if I wanted item3 to also BE a link what do I put?

Thank you for any help

Kevin

Re: URL and show menu


Poster: snapey
Dated: Thursday April 24 2003 - 20:07:06 BST

Quote:

,"item3","show-menu=next",,,1


I think you just need to put the URL in the next parameter:

,"item3","show-menu=next","item3url.php",,1

(at least thats what I do)
Have a look here: http://www.rotary1220.org, then follow:
District -> Committees -> Membership

then instead of following the submenu, click on the membership item.

;) A quick sneaky tip
Have a look at other sites that use the milonic menu.
When you find one that you like the look of:
View source for the page
Have a look at the path for the menu array
add this path to the web address (including the filename) in your browser.
A dialog box will appear allowing you to save the .js file, just save it to somewhere local and then open with your text editor.

mark

Hey Presto


Poster: Flash_harry
Dated: Friday April 25 2003 - 9:49:27 BST

Thanks a lot,

It all works great now

Cheers

Flash