How to know the number of menus?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rmamidipally
Advanced
Advanced
Posts: 10
Joined: Tue Feb 21, 2006 3:35 pm

How to know the number of menus?

Post by rmamidipally »

Hi,

I am using teh licenced version of Milonic menu.

I want to know the number of menus on the menupad.
In my application the menus on the pad are generated dynamically.
I have to do some validation based the number of menus on the menupad.

Please give me the function which can give number of menus on the menu pad.

Thanks,
Ravi.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I'll pass this on to Milonic. In the meantime, perhaps one of the following will give you some ideas.

viewtopic. ... 5113#35113

http://milonic.com/menu_methods.php

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Something like this:

Code: Select all

_m.length
Should return the number of menus


Code: Select all

_mi.length
will return the number of menu items
Post Reply