Ver Mensaje Individual
  #14 (permalink)  
Antiguo 01/05/2002, 12:10
Avatar de CHILENOCES
CHILENOCES
 
Fecha de Ingreso: octubre-2001
Ubicación: Mmm paseando por la vida
Mensajes: 491
Antigüedad: 22 años, 6 meses
Puntos: 0
Re: Rotar banners hechos en flash?

<SCRIPT LANGUAGE="JavaScript">
// Realizado por: Fabian Muller
// WebExperto.com - Ayuda al webmaster en español

// Comienzo
var banners = 2;
var ahora = new Date()
var segundos = ahora.getSeconds()
var ad = segundos % banners;
ad +=1;
if (ad==1) {
flash="swf.swf"
width="468";
height="60";
}
if (ad==2) {
flash="swf.swf"
width="468";
height="60";
}
document.write('<center>');
document.write('<OBJECT CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=' + width + ' height=' + height + ' CODEBASE=\"http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0\">');
document.write('<PARAM NAME=\"MOVIE\" VALUE=\"' + flash + '\">');
document.write('<PARAM NAME=\"PLAY\" VALUE=\"true\">');
document.write('<PARAM NAME=\"LOOP\" VALUE=\"true\">');
document.write('<PARAM NAME=\"QUALITY\" VALUE=\"high\">');
document.write('<EMBED SRC=' + flash + ' width=' + width + ' height=' + height + ' PLAY=\"true\" LOOP=\"true\" QUALITY=\"high\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version=ShockwaveFlash\">');
document.write('</EMBED>');
document.write('</OBJECT>');
document.write('</center>');
// Fin

</SCRIPT>



Que tal ese ?


Ahi ese codigo lo pones donde quieres qe se muestren los banners. \

Saludos.

<center><a href="http://www.casinformatico.com/" target="_blank" CLASS="menu"><font face="verdana" size="2"><B>Casinformatico.com[/B]</a><font face="verdana" size="2"> <B>Entra ya!!!</B></center>