otra cosa se le puede poner tiempo de imagena a imagen?? digamos unos 5 segundo mas o menos??
gracias a todos saludos
Código PHP:
<?
$numbanners = 3; //numero de banners que se rotarán
$random = rand(1,$numbanners);
$img = array();
$url = array();
$txt = array();
$img[1] = archivos/banner1.gif;
$url[1] = http: www.4-com.com.ar/rot/01.jpg;
$txt[1] = Visita el enlace del banner 1;
$img[2] = archivos/banner2.gif;
$url[2] = http: www.4-com.com.ar/rot/02.jpg;
$txt[2] = Visita el enlace del banner 2;
$img[3] = archivos/banner3.gif;
$url[3] = http: www.4-com.com.ar/rot/03.jpg;
$txt[3] = Visita el enlace del banner 3;
echo <a href='$url[$random]' target='_blank'><img src='$img[$random]' alt='$txt[random]' border='0'></a>;
?>