Mac OSX Dashboard mystery

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top