<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<?// NOTES:
// This class directly suposses your images reside in a directory called images
// directly pending from your site root directory (/images) you can easily
// change it in the source code for the class
// This examples creates a rollover image in a layer named "Layer1"
?>
<? include ("clases/rollover.php") ; ?>
<? $testbutton = new rollover("./","Layer1","testbutton","testbutton.gif","testbutton_selected.gif","test button","test_link.htm") ; ?>
<html>
<head>
<title>Pruebas</title>
<script language="javascript" src="./JS/images.js"></script>
<script language="javascript">
<? $testbutton->preload() ;?>
</script>
</head>
<body>
<div name="Layer1" style="position:absolute;top:100px;left:200px">
<? $testbutton->image() ; ?>
</div>
</body>
</html>
|