Rotate a Banner

[Total: 0    Average: 0/5]

This shows how to rotate 2 separate images that each have their own links on a 5 second timer.

Head Code:

  -- Note: You must download the div_construct.js and image files to your
  --       own server, or this code will not work correctly.
<script type=text/javascript src=""></script>
<script type=text/javascript>
var _m1 = "";
_m1 += "<a href=''>";
_m1 += "<img border=0 alt='image 1' src=''>"
_m1 += "</a>";
var _m2 = "";
_m2 += "<a href=''>";
_m2 += "<img border=0 alt='image 2' src=''>"
_m2 += "</a>";
var div1 = new NewDiv(window, "banner", _m1,0,0,50,50,-1,"ABSOLUTE");

var count=1;
function doIt() {
if (count != 1) {count=1;} else {count=2;}

Body Code:

<script type=text/javascript>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *