• Mensajes Argumentos
  • Recordar usuario
Entra a el MURO

No estás conectado. Conéctate o registrate

Ver el tema anterior Ver el tema siguiente Ir abajo Mensaje [Página 1 de 1.]

#1 [Codigo html] texto con iluminacion por detras el Vie Jul 17, 2009 12:36 pm
Texto con iluminacion por atras

EJEMPLO
Copia y pega en donde quieras el efecto . puedes modificar el tamaño de la fuente ( font size+5 por el valor que tu quieras ) En este momento si te fijas esta para 6 colores , que tambien puedes modificar
Código:
<span id="theText" style="width:100%">
<h3 align="center"><font color="#3a6ca3"><font size="+5">CREATUPROPIAWEB</font>
 </font><font color="#666666">
 <!-- Mas scripts en http://www.creatupropiaweb.com -->
 <script>              //    ^-the text that will be displayed
<!--
//can be edited from here
var from = 5;                      //the animation start value
var to = 11;                        //the animation end value
var delay = 55;                    //the animation speed
var glowColor = "red";              //the first color
var glowColor2 = "orange";          //the second color
var glowColor3 = "yellow";          //the third color
var glowColor4 = "lime";            //4th color
var glowColor5 = "blue";            //5th color
var glowColor6 = "magenta";        //last color
//no more editing
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor2 + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp2()',delay);
return 0;
}
}
//Copyright (c) 2001 Coyotee Labs Romania (www.coyoteelabs.go.ro)
//This script can be used freely as long as all copyright messages are
//intact. Visit WWW.COYOTEELABS.GO.RO for more scripts
function textPulseUp2()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor3 + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp2()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown2()',delay);
return 0;
}
}
function textPulseDown2()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor4 + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown2()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp3()',delay);
return 0;
}
}
function textPulseUp3()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor5 + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp3()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown3()',delay);
return 0;
}
}
function textPulseDown3()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor6 + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown3()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script></font></h3></span>





Otro

EJEMPLO
Copia y pega donde quieras el efecto . Puedes modificar el color del texto ( h1 font color # TU COLOR ) Puedes modificar el entorno alrededor del texto ( from = 2 ) y su tamaño máximo ( to = 12 ) La velocidad a la que quieras que el texto se ilumine ( delay = 55 ) El color del contorno ( glowColor = # .... ) .
Código:
<span id="TexteBat" style="width:100%">
<h1><font color="#ffffff">  Aprende a<br>Crear tu web</font></h1>
</span>
</center>
<script>
<!-- Mas scripts en http://www.creatupropiaweb.com -->
<!--
var from = 2;
var to = 12;
var delay = 55;
var glowColor = "#0000ff";
var i = to;
var j = 0;

textPulseDown();

function textPulseUp()
  {
  if (!document.all)
      return
  if (i < to)
      {
      TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
      i++;
      theTimeout = setTimeout('textPulseUp()',delay);
      return 0;
      }

  if (i = to)
      {
      theTimeout = setTimeout('textPulseDown()',delay);
      return 0;
      }
  }

function textPulseDown()
  {
  if (!document.all)
      return
  if (i > from)
      {
      TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
      i--;
      theTimeout = setTimeout('textPulseDown()',delay);
      return 0;
      }
  if (i = from)
      {
      theTimeout = setTimeout('textPulseUp()',delay);
      return 0;
      }
  }
//-->
</script>

Fuente: www.creatupropiaweb.com


Unos pantallasos:
el code 1 es para:
es animado y cambia de colores es muy bueno

el code 2 es para:
este es animado tambien muy bueno



Última edición por Elbruto-master el Vie Jul 17, 2009 12:48 pm, editado 2 veces

muchas gracias pero no ve o el efecto es de inter exploret ? si es asi si seria posible un apntallaso seria genial :D



Quieres hablar? hablame por skype -> joseemanuelrojasrivas

Hola Invitado recuerda siempre leer las Reglas del foro para evitar problemas

Nunca olvides leer las nuevas normas del foro 8D

Puedes escbribir a las siguientes direcciones

hackerspan@tfwmail.co.cc

Hackerspan@promocionatupagina.com
Ok ya lo ago

esta genial muchas gracias!!!



Ver el tema anterior Ver el tema siguiente Volver arriba Mensaje [Página 1 de 1.]

Comparte este tema!

Url directa
BBcode
HTML

Ads

Permiso de este foro: No puedes responder a temas en este foro.

 

Promocionatupagina© Todos los derechos reservados.