Mac OSX Dashboard mystery

Discussion in 'Javascript' started by ram, Mar 13, 2006.

  1. ram

    ram Guest

    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?

    --
    rob
     
    ram, Mar 13, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John 3:16

    DashBoard

    John 3:16, Jan 20, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    6,963
    tansu
    Jun 10, 2009
  2. Frederic HOUDE
    Replies:
    4
    Views:
    598
    Frederic HOUDE
    Aug 31, 2004
  3. Chris

    Help with web dashboard

    Chris, Jan 27, 2005, in forum: Python
    Replies:
    4
    Views:
    339
    Fuzzyman
    Jan 29, 2005
  4. Shug
    Replies:
    13
    Views:
    902
    Philipp
    Dec 15, 2006
  5. Shug
    Replies:
    13
    Views:
    957
    Philipp
    Dec 15, 2006
Loading...

Share This Page