R
ram
hi!
The following code fragment works perfectly and does just what you would
expect and hope (!) in Netscape and Safari, Mac OSX.
<img src= "aaa.gif" height= "50" width= "50" align= "center" border="0"
onMouseDown="document.images[8].src = 'bbb.gif'"
onMouseOver="document.images[8].src = 'ccc.gif'"
onMouseOut="document.images[8].src = 'ddd.gif'"
onMouseUp="drop(1);document.images[8].src = 'eee.gif'">
The intent is to get button hilighting going.
In Mac OSX's Dashboard environment it works as far as calling the
"drop(1)" routine, and all of the graphic changes _except_ the one
attached to the 'onMouseDown' event.
I do get a brief flash of bbb.gif on mouse UP, but I do not get it at
all while the button is pressed. Thus it misses the goal of the button
hilighting.
Is anyone here using Dashboard who can comment on this and/or suggest a
workaround? Is there a better forum that you know of for inquiries of
this nature, i.e. specific Javascript limitations or differences in
Dashboard?
The following code fragment works perfectly and does just what you would
expect and hope (!) in Netscape and Safari, Mac OSX.
<img src= "aaa.gif" height= "50" width= "50" align= "center" border="0"
onMouseDown="document.images[8].src = 'bbb.gif'"
onMouseOver="document.images[8].src = 'ccc.gif'"
onMouseOut="document.images[8].src = 'ddd.gif'"
onMouseUp="drop(1);document.images[8].src = 'eee.gif'">
The intent is to get button hilighting going.
In Mac OSX's Dashboard environment it works as far as calling the
"drop(1)" routine, and all of the graphic changes _except_ the one
attached to the 'onMouseDown' event.
I do get a brief flash of bbb.gif on mouse UP, but I do not get it at
all while the button is pressed. Thus it misses the goal of the button
hilighting.
Is anyone here using Dashboard who can comment on this and/or suggest a
workaround? Is there a better forum that you know of for inquiries of
this nature, i.e. specific Javascript limitations or differences in
Dashboard?