Hi to all,
I want to stop propagation of alt keyup event.
This is a part of the code:
Event.observe(document, 'keyup', function(event)
{
Event.stop(event);
if (event.keyCode == 18)//alt key
{
if($('temp_1_2').disabled == false)
{
if (pointerForSmoke == 0)
{
set_crack_s1($('first_smoke'));
pointerForSmoke++;
}
else if(pointerForSmoke == 1) .....
It works fine with ff3 and safari, but it is nor working with IE7.
When I press alt key it selects file button in menu bar. How can I
override this.
I am using prototype 1.6.
Best Regards,
Predrag
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---