• Mouseover buttons

    Author
    Topic
    #390036

    O’Reilly has a “bonus recipe” from Danny Goodman for creating “tri-state” graphic buttons (normal, mouseover, mousedown) with only three graphics for the entire row of buttons (using clever JavaScript code). I’ve made a little picture; here’s the demo page:

    http://www.oreillynet.com/javascript/2003/…s1_example.html%5B/url%5D

    But… there seems to be a problem with the MouseDown event in my IE6. It doesn’t fire for a click and release, and often does not light up for a click and hold. When it does, it changes back after about 4 seconds (if I hold still) or when I move the mouse. I don’t know if this is an IE issue or something in the code. The article laying out the technique says it should work with both IE-specific and W3C compliant document syntax. Any ideas where the problem might be??

    Viewing 2 reply threads
    Author
    Replies
    • #691291

      I think it’s your IE. I tried it with IE 6.0.2800.1106CO – SP1 on Win2KSP3 and it worked just fine.

      I also tried it in Avant Browser (IE Engine) and Mozilla Firebird, and they both worked for me.

      I held the mousebutton down for 30 seconds and the graphic didn’t change back from the MouseDown image until I moved the mouse (well trackball in my case).

    • #691313

      On IE6 W98 it works OK, but it is very sensitive to mouse movement. Using my trackball it worked fine with fingers off the ball but if I kept fingers on the ball then the slight movement on the ball when clicking would fire the mosue over event again and turn the button red.

      HTH

      Peter

    • #691335

      I checked my Mozilla 1.3.1 also and they work fine here. I’ve got a cordless Logitech wheel mouse.

    Viewing 2 reply threads
    Reply To: Mouseover buttons

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: