BOTTONE CAMBIA IMMAGINE - 2

Image

Questo script è utilizzabile uno solo per pagina.

Autori: unknown, modified and explained from www.webmasterpaolo.com 

RITORNA ALLA PAGINA DELLE JAVASCRIPT

RITORNA ALLA PAGINA DEGLI EFFETTI SU IMMAGINI

utenti connessi

Lo script da inserire in html


<!-- TWO STEPS TO INSTALL CHANGE IMAGE:

1. Paste the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT language="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
// End -->
</SCRIPT>
<!-- STEP TWO: Put this code into the BODY of your HTML document -->

<BODY>

<!-- Be sure to give each image a name! (<img name="button">)
Include that name in the onmouseover/onmouseout tags! -->

<CENTER>
<A HREF="http://javascript.internet.com" 
onmouseover="movepic('button','ric_on.jpg')" 
onmouseout="movepic('button','ric_off.jpg')">
<IMG NAME="button" SRC="ric_off.jpg" ALT="Image"></A>
</CENTER>


</body>

</html>