0 Replies Latest reply on Feb 28, 2007 12:30 AM by ctzn99

    Events for specific menu items.

    ctzn99 Level 1
      Anyone know how to add an event listener to a specific menu item(s)?

      I've got a menu with only three items so it's not a huge deal but, as it stands right now i've got an item_click event listener on the menu, i then use event.item.@id in a switch statement so i can tell what item has been clicked. This works just fun but, what if I have 100 menu items? That seems like a big switch statement.

      Just curious,
      Zach