Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/08/2013, 13:19
Andrew777
 
Fecha de Ingreso: junio-2009
Ubicación: Bolivia
Mensajes: 96
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: efecto de parpadeo de letras no funciona?

Gracias por las sugerencias, lo resolvi de la siguiente manera, a quien le sirva:
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin título</title>
  5. (function() {
  6. setInterval(function(){
  7.   var el = document.getElementsByTagName('p');  
  8.  for (var i=0; i<el.length; i++)
  9. {    
  10.        var valor = el.item(i);     
  11.        if(valor.className == 'luz')
  12.        {
  13.        valor.className = 'luz on';
  14.       }
  15.       else
  16.        {
  17.        valor.className = 'luz';
  18.       }
  19.  }  
  20. },500);
  21. })();
  22.  
  23. p.luz.on{
  24.     color: #FF0000;/*color del texto al cambiar*/
  25.     text-shadow: 1px  1px rgba(255, 255, 255, .1),
  26.     -1px -1px rgba(0, 0, 0, .88),
  27.      0px  0px 20px #0099ff;/*color de la luz del texto*/
  28. }
  29. p.luz{
  30.   font-size:11pt;;/*tamaño de la fuente*/
  31.   color: #000000;
  32.   /* text-shadow:
  33.      1px  1px rgba(255, 255, 255, .1),
  34.     -1px -1px rgba(0, 0, 0, .88); */
  35. }
  36.  
  37.  
  38.  
  39. </head>
  40.  
  41.  
  42. <p class="luz"><b>Tu texto aqui1</b></p>
  43. <p class="luz"><b>Tu texto aqui2</b></p>
  44. <div><b>Tu texto aqui</b></div>
  45. </body>
  46. </html>

saludos cordiales y gracias de nuevo por las sugerencias.