Show image on mouse over a link

Discussion in 'JavaScript' started by emi87, Sep 18, 2008.

  1. #1
    Hello,

    I need a script to show a small image near the mouse when I put the mouse over a link.
    I don't want to disappear the link and show the image. I want to be both there.

    for example. when you put the mouse over this link www.dsfkjsdlkg.com I want to show a thumbnail image with me near the cursor.

    Thank you.
     
    emi87, Sep 18, 2008 IP
  2. xlcho

    xlcho Guest

    Messages:
    532
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can look here, though the script does something else.. Just use the code that gets the mouse position, attach a new <img> to your page, and then move it like the function moveDraggedItem() does in the sciprt above.

    Good luck, ask if you can't do it :)
     
    xlcho, Sep 18, 2008 IP