Richard Asquith
(Huddersfield, Yorkshire)
Posted: 12/12/2006, 10:21:17
1 - you need to use relative sizes rather than absolute. so 90% rather than 760px and so on
2 - don't use it, but have this saved on my HD - if it doesn't appear right, email me and I'll send it that way - just don't ask how to configure it
----
<SCRIPT LANGUAGE="JavaScript">
<!--
//set image paths
src = ["1.jpg", "2.jpg", "3.jpg"]
//set corresponding urls
url = ["
http://1.htm/ http://1.htm ", "
http://2.htm/ http://2.htm ", "
http://3.htm/ http://3.htm "]
//set duration for each image
duration = 3;
//Please do not edit below
ads=[]; ct=0;
function switchAd() {
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;
}
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
setTimeout("switchAd()",duration*1000);
}
function doLink(){
location.href = url[ct];
} onload = function(){
if (document.images)
switchAd();
}
//-->
</SCRIPT>
<A HREF="javascript:doLink();" onMouseOver="status=url[ct];return true;"
onMouseOut="status=''">
<IMG NAME="Ad_Image" SRC="1.jpg" BORDER=0>
</A>
------------
3 - you need to add buttons to the next and previous page where the ads are located [to the frame if using them]. or use flash