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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42

Making the root links work on the milonic menu


Poster: noelc
Dated: Tuesday June 7 2005 - 13:31:25 BST

If you look at the home page for this site, when you click on My Milonic, it takes you to a specified URL.

On all the other menu tree items. there is no action from clicking on these root links [Javascript:void(0)]

How do I specify links for the top levels of my menu like this?


Poster: noelc
Dated: Tuesday June 7 2005 - 13:43:03 BST

found the answer myself - here it is:

on the page you are displaying the menu's on, within the javascript that generates the menu:

aI"text=<img src=image.gif>;showmenu=menu_name;");

add url=link.htm; after menu_name; like so:

aI"text=<img src=image.gif>;showmenu=menu_name;url=link.htm;");


Poster: kevin3442
Dated: Tuesday June 7 2005 - 19:55:54 BST

noelc wrote:
found the answer myself - here it is:...
aI"text=<img src=image.gif>;showmenu=menu_name;url=link.htm;");


I think you left out the opening parenthesis:

Code:
aI("text=<img src=image.gif>;showmenu=menu_name;url=link.htm;");


Essentially, a url can be added to any menu item using the url= property, whether that item opens a submenu or not.

Cheers,

Kevin