Marques,
I think there are not events such as onKeyPress and onkeyDown
exists(applies) for an Image
They are applicable only for input elements
checkout this URL
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/img.asp?fr
ame=true
Revert back if u didn't get the answer yet.
-Sowmi
-----Original Message-----
From: quez_wood@y... [mailto:quez_wood@y...]
Sent: Thursday, September 26, 2002 2:47 PM
To: javascript
Subject: [javascript] Re: SV: Re: SV: onKeyPress, onKeyUp not working
with <img> tag
Just tried it and it did not work:
<IMG name="menuToggle" src="/eomis/images/big_minimize_hide.gif"
title="Hide unavailable menu opitons" onKeyDown="parent.togglePressGif()"
onKeyUp="parent.toggleMenuInactiveOptions()">
Nothing happens. Any other suggestions?
Thanks again.
Marques :)
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20