Image Rollover Demo
http://dynapi.sourceforge.net/
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
<html>
<head>
<title>DynAPI - Image Rollover</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.functions.Image');
</script>
<script language="Javascript">
var p = {
oversrc:'./dynapiexamples/images/eicon3.gif',
downsrc:'./dynapiexamples/images/eicon2.gif'
}
var myImage = dynapi.functions.getImage('./dynapiexamples/images/eicon1.gif',32,32,p);
</script>
</head>
<body>
Press move your mouse over the image below and click on it<br><br>
<script>
document.write(myImage.getHTML());
</script>
</body>
</html>
dynapi.zip( 791 k)Related examples in the same category