Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/05/2003, 01:35
Nemor
 
Fecha de Ingreso: junio-2002
Mensajes: 45
Antigüedad: 21 años, 10 meses
Puntos: 0
contador en links

tengo un rotador de banners, pero no puedo contar el numero de click si alguin me puede pasar el dato, os agradeceria mucho.
Gracias
he aqui el codigo del contador (php)

<SCRIPT LANGUAGE="JavaScript">
<!-- 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="Enlace MP3";
url="http://www.miweb.com";
alt="texto de info";
banner="http://www.enlacemp3.com/images/ban/disco.gif";
width="468";
height="60";
}
if (ad==2) {
txt="Zona Lokinos";
url="http://www.miweb.com";
alt="texto de info";
banner="C:\Mis documentos\Mis Webs\lokinos\nuevo diseño\graficos\banner_lokinos_bilin.gif";
width="468";
height="60";
}
if (ad==3) {
txt="texto de la web";
url="http://www.miweb.com";
alt="texto de info";
banner="C:\Mis documentos\Mis Webs\lokinos\nuevo diseño\graficos\banner_lokinos_bilin.gif";
width="";
height="";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
// End -->
</SCRIPT>