Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Space to simulate a click on an image
Message
From
27/09/2001 19:06:29
 
 
To
27/09/2001 18:49:42
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00561538
Message ID:
00561752
Views:
26
This message has been marked as the solution to the initial question of the thread.
>>>Do you know the equivalent in Javascript?
>>
>>
function myAnchorSelect()
>>{
>>	if (window.event.keycode = 32)
>>		alert("Space bar was pressed!");
>>}
>
>The problem with that is that the space key press is in memory so even if it calls the form, the page is moving one page down.

Would this work?
window.event.keyCode = 0;
event.returnValue = false;
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform