Hello

I am using mm_menu.js in my application. My menu is a editable one, means user can have the menu according to his choice eg(he can operate the menu using onClick or onMouseOver)...

Now with onClick.....
If a user clicks a particular menu, it will display the child menus.

The problem is if a child menu has some more sub-menus, the program is displaying all those onMouseOver. I want these to be displayed only if i am clicking their parent menus.....

Please help......

This is how i am adding the menus and child menus in my js file..........

window.mm_menu_0623135119_0_2 = new Menu("hepatitis",190,19,"Verdana, 
Arial, Helvetica, 
sans-serif",11,"#333399","#000033","#CCCCFF","#E8E8E8","left","middle",4,0, 400,-5,7,true,false,true,0,true,true); 
mm_menu_0623135119_0_2.addMenuItem("glossary","location='glossary.php'"); 
mm_menu_0623135119_0_2.addMenuItem("injection tips","location='dis_hep _itips.php'"); 
mm_menu_0623135119_0_2.addMenuItem("kids infect kids","location=' im_kik.php'"); 
mm_menu_0623135119_0_2.addMenuItem("labs","location='dis_hep_labs.php'"); 
mm_menu_0623135119_0_2.addMenuItem("links & resources","location= 'dis_hep_lr.php'"); 
mm_menu_0623135119_0_2.addMenuItem("milk thistle","window.open('pdf/mi lkthistle.pdf', 
'_blank');"); 
mm_menu_0623135119_0_2.addMenuItem("pediatric hepatitis report"," location='dis_hep_phr.php'"); 
mm_menu_0623135119_0_2.addMenuItem("someone you know has&nbs p;hbv","window.open('pdf/syk_hbv.pdf', 
'_blank');"); 
mm_menu_0623135119_0_2.addMenuItem("someone you know has&nbs p;hcv","window.open('pdf/syk_hcv.pdf', 
'_blank');"); 
     mm_menu_0623135119_0_2.hideOnMouseOut=true; 
     mm_menu_0623135119_0_2.bgColor='#999999'; 
     mm_menu_0623135119_0_2.menuBorder=1; 
     mm_menu_0623135119_0_2.menuLiteBgColor='#FFFFFF'; 
     mm_menu_0623135119_0_2.menuBorderBgColor='#FFFFFF';

Can you please tell me as to how to track a click in the above sub menus..............

Sorry as my site is not yet hosted, i cannot post a link to it..................

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.