How to make a onmouseclick/onmouseout/onmouseover button?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kinkypoopstick
    New Member
    • Jun 2010
    • 1

    How to make a onmouseclick/onmouseout/onmouseover button?

    Alright, just a quick introduction. My name is David; i'm 13. And I need help making a button for my gaming profile. Don't laugh :)

    This is the website: www.tinierme.com

    This is my profile which I am making the button to link to my trading list: http://www.tinierme.com/tinierme/myp...lfDispFlg=true

    So, I can't make my button have a link on it. This is what i've got so far..

    <img src="http://i880.photobucke t.com/albums/ac2/jenannaeliz/cooltext4629545 04.png"
    onmouseover="th is.src='http://i880.photobucke t.com/albums/ac2/jenannaeliz/cooltext4629545 04MouseOver.png ';" onmouseout="thi s.src='http://i880.photobucke t.com/albums/ac2/jenannaeliz/cooltext4629545 04.png';" />

    What HTML code do I put it in so it will link to a website? And where do I put it..? It would help if someone could copy that code, and put the HTML codes + an example in the correct area.

    THANKS A LOT!!

    quick edit: I also googled, binged, yahooed this question..No one knew what the hell I was talking about..
    Attached Files
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    What HTML code do I put it in so it will link to a website?
    basically
    Code:
    <a href="…"><img src="…" width="…" height="…" alt="…"></a>
    you can go even further and use CSS instead of JavaScript to make the image rollover.

    Comment

    Working...