URL and show menu

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
Flash_harry
Advanced
Advanced
Posts: 11
Joined: Wed Apr 23, 2003 4:30 pm

URL and show menu

Post by Flash_harry »

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
snapey
Advanced
Advanced
Posts: 19
Joined: Mon Jul 15, 2002 11:26 pm

Re: URL and show menu

Post by snapey »


,"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
Flash_harry
Advanced
Advanced
Posts: 11
Joined: Wed Apr 23, 2003 4:30 pm

Hey Presto

Post by Flash_harry »

Thanks a lot,

It all works great now

Cheers

Flash
Post Reply