How do i rotate this banner script
<div id="adspace">
<script language="JavaScript" type="text/javascript">
ads = new Array(3);
ads[0] = "<a href='http://instantsplash.com/signup.php?ref=6731y5exy36' rel='nofollow' target='_blank'>" +
"<img src='http://instantsplash.com/a/images/website/IS-125x125.png' border='0' height='121px' width='121px'/></a>";
ads[1] = "<a href='http://instantsplash.com/signup.php?ref=6731y5exy36' rel='nofollow' target='_blank'>" +
"<img src='http://instantsplash.com/a/images/website/IS-125x125.png' border='0' height='121px' width='121px'/></a>";
ads[2] = "<a href='http://refban.com/70024' rel='nofollow' target='_blank'>" +
"<img src='http://x.refban.com/125x125_1.gif' border='0' height='121px' width='121px'/></a>";
index = Math.floor(Math.random() * ads.length);
document.write(ads[index]);
</div>
It rotates 3 images. This is what i am trying to replace each image with
<script type="text/javascript" src="http://adhitzads.com/701087"></script>
The Problem
- the image attached to the script is unavailable by its self, it only comes with the script. I have tried replacing the link and img src code with the source provided in the script but it just doesn't work.
I know that their is a way to rotate that script within the code rotation i provided. Anyone care to help?
-
Fanzi -
Thanks - 1 reply
{{ DiscussionBoard.errors[8991737].message }}-
OfficerIM -
Thanks
{{ DiscussionBoard.errors[8998718].message }} -
-
-
MYFREEIM -
Thanks - 1 reply
SignatureIM GUIDE Developer{{ DiscussionBoard.errors[8999004].message }}-
OfficerIM -
Thanks
{{ DiscussionBoard.errors[9007003].message }} -
-
-
David Beroff -
Thanks - 1 reply
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[8999800].message }}-
OfficerIM -
Thanks - 1 reply
{{ DiscussionBoard.errors[9007004].message }}-
David Beroff -
Thanks
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[9007258].message }} -
-
-