| onkeypress ¶ | |
| I have what I think is probably a very simple question. Since the dynarch menu can handle html then I should easily be able to add an onkeypress to my <li> element. In that event I want to trigger the closing of the dynarch menu just as if I had clicked off the menu. The reason for this is that I have the dynarch menu fired on clicking on certain text fields to give them the option of looking the value up.. if they enter a value I want the menu to go away without them having to move the mouse (with the electric set). | |
| Re: onkeypress ¶ | |
| Yes, this should be possible (thought not quite documented). There's one global function that closes all visible menus, I think you could use that. Just call: DynarchMenu._closeOtherMenus(null); in your event handler. Hope this helps. | |
| last |
| Re[2]: onkeypress ¶ | |
| hmm, I tried this but it isn't working. ummm did it exist in cough *cough* version 2.1 cough I haven't gotten around to upgrading it yet. Where exactly would that code go. I tired putting it on the menu element and also tried putting it in the input element. Neither seemed to do the trick. | |
| last |
| Re[2]: onkeypress ¶ | |
| perfect. Either upgrading the menu caused that function to work or when I tried it the first time I had a mistake somewhere. It is working now. I downloaded the free version on the website. We paid for it so that we can distribute it with the software we sell. Do I need to email you and get a different copy of the newest version sent? Thanks alot. | |
| last |














