I need a .js script that will allow me to rotate banner ads image based but also flash based.... basically one like GFY uses for their top rotation. Anyone know of any?
Need js script that will rotate flash and image banners
Collapse
X
-
have you looked into phpadsnew? I can't vouch for flash but it rotates everything else very well. -
take a look at http://javascript.internet.com/ may be something there... or atleast there will be enough code there, that you can swap to embed flash//
problem you may have is that an image and flash are inserted to the page differently... I may be easier using Server Side ratther then Client side.SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text.Comment
-
Just an esay script, maybe it will help you
<script language="JavaScript">
<!-- begin script
pubs=new Array();
liens=new Array();
pubT=0;
pub = -1;
function AfficherPub(pubs,pubDelay1) {
pubDelay = pubDelay1;
pub = pub + 1;
if (pub hahahaha pubs.length)
pub = 0;
document.pubImg.src = pubs[pub];
pubT = setTimeout("AfficherPub(pubs,pubDelay)", pubDelay1);
}
// end script -->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!-- begin script
function VersionNavigateur(Netscape, Explorer) {
if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName hahahaha 'Netscape') ||
(navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) hahahaha 'Microsoft'))
return true;
else return false;
}
// end script -->
</script>
</head>
<body onUnload="clearTimeout(pubT)">
<A HREF="" onClick="location=liens[pub]; return false">
<IMG NAME="pubImg" SRC="image0" WIDTH="20" HEIGHT="20" BORDER="0"></A>
<SCRIPT LANGUAGE="JavaScript">
<!-- begin script
if (VersionNavigateur(3.0,4.0))
{
pubs[0] = document.pubImg.src;
liens[0]='url0';
AfficherPub(pubs,10000);
}
// end script -->
</SCRIPT>Comment


Comment