Results 1 to 8 of 8

Thread: Menu Problem

  1. #1
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Menu Problem

    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......

  2. #2
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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 somebody please tell me as to how to track a click in the above sub menus..............

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    magicyte, just hit the report button and let the mods take care of it. You don't have to go around threatening people in each thread. It's obviously spam.

  4. #4
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    kay. Where's the report button?

    Seriously...

    -magicyte

  5. #5
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any help for the original post would be most welcome.................

  6. #6
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Oh, sorry. Got caught up...

    Please post a link to the page on your site that contains the problematic script so we can check it out.


    This would make the task easier.

    -magicyte

  7. #7
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by magicyte View Post
    kay. Where's the report button?

    Seriously...

    -magicyte
    The report link is there on the right top corner of all posts......

  8. #8
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by magicyte View Post
    Oh, sorry. Got caught up...

    Please post a link to the page on your site that contains the problematic script so we can check it out.


    This would make the task easier.

    -magicyte
    Sorry.......The site is not yet hosted.....It is still in my local machine............

    Any suggestions as to how to track a click on a sub menu..............

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •