Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cascading Menu Item Problem

Status
Not open for further replies.

eyebean

Programmer
Nov 6, 2003
8
0
0
AU
Hi,

I've setup a cascading menu item,

eg:

open
save
---------
reopen ->

then click on reopen:

open
save
---------
reopen -> file1
file2

The example above is not what i actually use, but for purposes of easy illustration.

The problems is that i also have an onclick event for the 'reopen' menu item and each time i settle the mouse cursor on the reopen item so that the submenu will display the onclick event fires automatically. Does anyone know how to stop it from firing?
 
IMHO having a menu with submenus that does something in its own right is unconventional and would be confusing to users.

Why not change it to something like:

open
save
---------
reopen -> do reopen
file1
file2
 
that's one way of fixing things.

i'll probably do that, seeing as it's much better than having a buggy program.

thanks for the suggestion.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top