Ver Mensaje Individual
  #7 (permalink)  
Antiguo 20/11/2003, 08:37
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 23 años, 3 meses
Puntos: 38
Pruébalo asi:

Código PHP:
<html>
 <
head>
 </
head>
 <
body>
  <
input type="text" id="flashlink" flashtype="0" flashcolor="green" value="123">
  <
script language="JavaScript">

   function 
changecolor(whichtypecolor){
    if (
type == 0){
     if (
flashlinks[which].style.color != color)
      
flashlinks[which].style.color color;
     else
      
flashlinks[which].style.color '';
    } else 
     if (
type == 1){
      if (
flashlinks[which].style.backgroundColor != color)
       
flashlinks[which].style.backgroundColor color;
      else
       
flashlinks[which].style.backgroundColor '';
     }
   }

   if (
document.all && document.all.flashlink){
    var 
flashlinks document.all.flashlink;
    if (
flashlinks.length == null)
     
flashlinks[0] = document.all.flashlink;
     if (
flashlinks.length == null){
      var 
flashengine 'setInterval("changecolor(0, ' flashlinks[0].flashtype ', \'' flashlinks[0].flashcolor '\')",' '1000)';
      eval(
flashengine);
     } else
      for (
0flashlinks.lengthi++){
       var 
flashengine 'setInterval("changecolor(' ',' flashlinks[i].flashtype ', \'' flashlinks[i].flashcolor '\')",' '1000)';
       eval(
flashengine);
      }
    }
  
</script>
 </body>
</html> 
Saludos.