ClickFunction on a submenu that has a submenu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Julianpointer
Beginner
Beginner
Posts: 1
Joined: Tue Jul 05, 2005 1:27 am
Location: Christchurch
Contact:

ClickFunction on a submenu that has a submenu

Post by Julianpointer »

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();
}
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
Post Reply