onmouseover repeat

Discussion in 'ASP .Net' started by =?Utf-8?B?cm9kY2hhcg==?=, Oct 13, 2007.

  1. hey all,
    i'm using the onmouseover event and i was wondering if there was a way to
    repeat the function automatically why the mouse is over the control?

    thanks,
    rodchar
     
    =?Utf-8?B?cm9kY2hhcg==?=, Oct 13, 2007
    #1
    1. Advertising

  2. rodchar wrote:
    > hey all,
    > i'm using the onmouseover event and i was wondering if there was a way to
    > repeat the function automatically why the mouse is over the control?
    >
    > thanks,
    > rodchar


    No, there isn't.

    You can use the window.setInterval method to start a method repeatedly.
    Set a variable on onmouseover and clear it on onmouseout and check the
    variable in the repeating function.

    --
    Göran Andersson
    _____
    http://www.guffa.com
     
    =?UTF-8?B?R8O2cmFuIEFuZGVyc3Nvbg==?=, Oct 13, 2007
    #2
    1. Advertising

  3. =?Utf-8?B?cm9kY2hhcg==?=

    Ben Amada Guest

    rodchar wrote:

    > i'm using the onmouseover event and i was wondering if there was a way to
    > repeat the function automatically why the mouse is over the control?


    There's the onmousemove event which fires everytime the mouse moves while
    over an element.
     
    Ben Amada, Oct 14, 2007
    #3
    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. frank

    Repeat DataGrid?

    frank, Jul 11, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    426
    frank
    Jul 11, 2003
  2. Jane sharpe

    How do I repeat pages.....

    Jane sharpe, Dec 17, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    469
    Jane sharpe
    Dec 18, 2003
  3. SamIAm
    Replies:
    5
    Views:
    5,672
    S. Justin Gengo
    Jan 7, 2004
  4. Mike Lerch
    Replies:
    2
    Views:
    436
    Mike Lerch
    Mar 4, 2004
  5. .Net Newbie
    Replies:
    0
    Views:
    468
    .Net Newbie
    Jul 29, 2004
Loading...

Share This Page