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();
}