quote:
Originally posted by xJ +
here's the code:
code:
<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','(rollover image)',1)">[img](First Image)[/img]
Change # to the page you want to direct to.
Change (rollover image) to the image you want to see when it's rollovered.
Change (first image) to the image you want to see when the page is loaded.
and where do you define the MM_swapImage and MM_swapImgRestore functions?
!Felu! and xj+ stop ripping code you have not a clue what it does
use the css psuedo :hover
css
code:
#hoverme{
background-image: url("http://normal/image");
}
#hoverme :hover{
background-image: url("http://on/hover/image");
}
and the html
code:
<a href="location" id="hoverme">mooo</a>
you may have to specify css width and height for the image but heh