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

ClickFunction on a submenu that has a submenu


Poster: Julianpointer
Dated: Tuesday July 5 2005 - 1:38:36 BST

I am having a problem with the clickfunction not firing when a user click a submenu if that submenu has further submenus.

ie
Menu Documents
SubMenu Manuals
SubSubMenu Car

I get a click function for Menu and SubSubMenu but not for SubMenu, I need to allow the user too pick this.

here is the code I use to create the menu structure

if (!record.EOF)
{
while (!record.EOF)
{
if (record(2) == 1)
milonic.aI("text=" + record(1) + ";tatus=" + record(1) + ";clickfunction=javascript:ListDocuments('" + record(1) + "');;showmenu=menu_" + record(0) + ";");
else
milonic.aI("text=" + record(1) + ";status=" + record(1) + ";clickfunction=javascript:ListDocuments('" + record(1) + "');;");

record.MoveNext();
}


Poster: Andy
Dated: Wednesday July 6 2005 - 16:02:42 BST

Hi,

Which version of the menu are you using, just tried this with the latest and it does fire the event.

Also, do you have a URL that we can see?

Cheers,
Andy