Possible to set focus to link with onmouseover?

Discussion in 'JavaScript' started by ikkyu, May 1, 2007.

  1. #1
    Hi everyone. I'm a noob and I think this is my first post here.
    Does anyone know if it is possible to set focus to a control with a mouse over and display the link no. in a message box?

    Thanks in advance for any responses
     
    ikkyu, May 1, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    If you're you trying to do some kind of tooltip, you can take a look at overlib
     
    ajsa52, May 1, 2007 IP
  3. bibel

    bibel Active Member

    Messages:
    289
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    onmouseover="alert(linknr);this.focus();" ?
     
    bibel, May 3, 2007 IP
  4. ikkyu

    ikkyu Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you both very much. This helps much.
     
    ikkyu, May 3, 2007 IP