hola,
Quisiera saber si me pueden facilitar un script que me roten los banners cada 'x' segundos y que me soporte flash... hasta ahora he estado tratando de configurar este script para que me soporte flash y me roten cada 'x' segundos, pero no he podido hacerlo bien, pueden ayudarme???
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<!-- ONE STEP TO INSTALL BANNER ADS:
1. Add the first code to the BODY of your HTML document -->
<!-- STEP ONE: Add the first code to the BODY of your HTML document -->
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var how_many_ads = 3;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="The World's Largest Online Bookstore, Amazon.com";
url="http://www.amazon.com";
alt="amazon.com";
banner="anunciate.swf";
width="100";
height="468";
}
if (ad==2) {
txt="Palm III by 3Com, in stock!";
url="http://cybershop.com/";
alt="cybershop.com";
banner="prueba.gif";
width="50";
height="60";
}
if (ad==3) {
txt="Find it at GoTo.com";
url="http://www.goto.com";
alt="goto.com";
banner="anunciate.swf";
width="100";
height="700";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<embed src=\"'+ banner +'\" quality="high" width=')
document.write(width + ' height=' + height + '></embed>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
// End -->
</SCRIPT>
<p><center>
<font face="arial, helvetica" size="-2"></font>
</center><p>
<!-- Script Size: 1.44 KB -->
</body>
</html>