by ZvezdanD » Thu Mar 12, 2009 7:57 pm
Your "ideal world" is not ideal for all of us. Anyway, you should send your complains to William Henry Gates III, because he is responsible for such behavior, not MM developers.
A solution is really simple, as onenonymous already explained, you should not assign OnClick event handlers to menu items which have sub-menus. Because you need to have a possibility to select such items as well, you should add one new item on the top of their sub-menus on which you could click instead. If you don't know what I am talking about, just take a look at the Send To / Playlist menu which has
Add to ... item on the top of every sub-menu. I am using similar approach in my script and this works just fine.
Your "ideal world" is not ideal for all of us. Anyway, you should send your complains to William Henry Gates III, because he is responsible for such behavior, not MM developers. ;)
A solution is really simple, as onenonymous already explained, you should not assign OnClick event handlers to menu items which have sub-menus. Because you need to have a possibility to select such items as well, you should add one new item on the top of their sub-menus on which you could click instead. If you don't know what I am talking about, just take a look at the Send To / Playlist menu which has[b] Add to ...[/b] item on the top of every sub-menu. I am using similar approach in my script and this works just fine.