Image Rotator Scripts
Code:
Update the script with your images
then insert the code between the header tags.
<script language="JavaScript">
SmartAd = new Array(2);
SmartAd[0]='<img src="<ENTER YOUR IMAGE PATH/NAME>">';
SmartAd[1]='<img src="<ENTER YOUR IMAGE PATH/NAME>';
var index = Math.floor(Math.random() * SmartAd.length);
</script>
|
Insert this code where you want it to display in
the body.
<script language="JavaScript">document.write(SmartAd[index]);</script>
|
|