Změna obrázku po najetí -
zdrojový kód
<html>
<head>
<title>Java Script ze stránky - www.jaknaweb.com</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
</head>
<script language="javascript">
<!--
active = new Image(26,26);
active.src = "2.gif";
inactive = new Image(26,26);
inactive.src = "1.gif";
//-->
</script>
<body>
<p align="center">
<a href="index.html" onMouseOver="inactive.src=active.src; return true" onMouseOut="inactive.src='1.gif'">
<img name="inactive" src="1.gif" width=26 height=26 border=0 align="left"></a>
</p>
</Body>
</HTML>