View Single Post
  #2 (permalink)  
Old 07-15-2008, 02:00 AM
Leprakawn's Avatar
Leprakawn Leprakawn is offline
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,124
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Something like this?
HTML Code:
<a href="the-page-you-desire.htm" onmouseover="document.Buddy_Holly.src='file/name-mo.jpg'" onmouseout="document.Buddy_Holly.src='file/name-me.jpg'"> 
<img src="file/name-me.jpg" name="Buddy_Holly" alt="Alternate txt goes here" /> 
</a>
To analyze this:

href="" is what you are linking to
onmouseover="" is the mouseover effect, or the img you will see when the mouse is over that img. KEY NOTE: Make sure to give your imgs different names, and use those names in the document.**.src section. And the src is where these other imgs are located.

onmouseout is what you will see when the mouse leaves the button. Of course you could get a little fancy and have an onmouseup="" applied to it (same coding within quotes), to make it even more interactive.

That is my 02˘ for the night.
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Last edited by Leprakawn; 07-15-2008 at 02:03 AM.
Reply With Quote