Mouseover Button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nhawlman
    New Member
    • May 2007
    • 1

    #1

    Mouseover Button

    I want to have a 640 X 480 .jpg appear at my specified location
    when I put the cursor over a button
    without clicking the button.

    Where can I find this Javascript?

    Thanks,
    Nevin
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to TSDN!

    Use onmouseover instead of onclick.

    Put the image in a div and have it hidden by default:
    Code:
    <div id="myDiv" style="visibility:hidden"><img ...></div>
    and make it appear (style.visibili ty='visible') onmouseover.

    As for the the specified location, if you want the mouse position, see this link.

    Comment

    Working...