Is their any way to use onmouseover and onmousedown together?

Discussion in 'JavaScript' started by ClearVisionDesigns.co.uk, Nov 2, 2006.

  1. #1
    Is their any way to use onmouseover and onmousedown together?

    Seems to work fine in ie, but not in ff.

    This is my code:
    
    <a href="Javascript:void(0)" onmouseover="scrolldown(200)" onmouseout="stopall()" onmousedown="scrolldown(50)" onmouseup="stopall()">
    
    Code (markup):
    Its a custom scrollbar. Should scroll slowely onmouseover, and speed up onmousedown. (speeds are other way round, 50 is faster than 200)
     
  2. Morishani

    Morishani Peon

    Messages:
    239
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try using onmousemove instead of onmouseover and onmouseout.
     
    Morishani, Nov 2, 2006 IP