ae galera...
uma duvida meio basica mas que eu nao sei... hehehehe
como faço p/ um texto ficar piscando?
deixa eu explicar melhor... terei uma parte de usuarios em meu site... e nos usuarios novos queria colocar alguma coisa que chamasse a atenção...
tipo a palavra new (ou novo mesmo) piscando...
se alguem tiver alguma ideia melhor sera bem vinda...
falowz...
Publicidade
|
|
Page 1 of 1
texto piscando como faço?
#2
Posted 10 March 2004 - 02:50 PM
http://www.scriptfacil.com la tem COM CERTEZA mas tem q dar uma boa olhada
#3
Posted 10 March 2004 - 03:48 PM
hahahah
essa parte dento do head
essa parte dento do head
| HTML |
| <script> <!-- //Pulsating Text (Chris A e-mail: KilerCris@Mail.com) //Permission granted to Dynamic Drive to feature script in archive //For full source and 100's more DHTML scripts, visit http://www.dynamicdrive.com var divs = new Array(); var da = document.all; var start; //CONFIGUER THESE VARS!!!!!! //speed of pulsing var speed = 50; function initVars(){ if (!document.all) return //Extend of shrink the below list all you want //put an "addDiv(1,"2",3,4); for each div you made, //1)'id' of div //2)color or glow(name or hex)(in quotes!!!) //3)minimum strength //4)maximum strength addDiv(hi,"lime",2,11); addDiv(welcome,"red",4,9); addDiv(message,"purple",2,4); addDiv(msg2,"orange",15,17); addDiv(msg3,"blue",1,3); //NO MORE EDITING!!!!!! startGlow(); } function addDiv(id,color,min,max) { var j = divs.length; divs[j] = new Array(5); divs[j][0] = id; divs[j][1] = color; divs[j][2] = min; divs[j][3] = max; divs[j][4] = true; } function startGlow() { if (!document.all) return 0; for(var i=0;i<divs.length;i++) { divs[i][0].style.filter = "Glow(Color=" + divs[i][1] + ", Strength=" + divs[i][2] + ")"; divs[i][0].style.width = "100%"; } start = setInterval('update()',speed); } function update() { for (var i=0;i<divs.length;i++) { if (divs[i][4]) { divs[i][0].filters.Glow.Strength++; if (divs[i][0].filters.Glow.Strength == divs[i][3]) divs[i][4] = false; } if (!divs[i][4]) { divs[i][0].filters.Glow.Strength--; if (divs[i][0].filters.Glow.Strength == divs[i][2]) divs[i][4] = true; } } } --> </script> |
essa parte dentro do body
| HTML |
| <div id="hi" style="color: lime"> Hello! </div> <br> <div id="welcome" style="color: lime"> Welcome! </div> <br> <div id="message" style="color: lime"> This is a pulsating message! </div> <br> <div id="msg2" style="color: lime"> This is another pulsating message! </div> <br> <div id="msg3" style="color: lime"> This is yet another pulsating message! </div> |
<body onLoad="initVars()">
isso é legal
tirado do site dinamic
Share this topic:
Page 1 of 1
Similar Topics
| Topic | Forum | Started By | Stats | Last Post Info | |
|---|---|---|---|---|---|
|
efeito de adesivo
como se faz |
Flash & ActionScript |
Morfel
|
|
|
|
Como mexer no attachMovie
Como adicionar um movie clip no palco |
Flash & ActionScript |
asilo69
|
|
|
|
Componentes flash
Como eu faço para... |
Flash & ActionScript |
Marcos Corrêa
|
|
|
|
Como grardar dados que selecionei no bd???
com posso fazer isso ?? |
Dreamweaver |
{_carnificina_}
|
|
|
|
Cor do grid
Como trocar |
Flash & ActionScript |
Mentell
|
|
|
|
banner rotativo
tenho um em asp...como funciona!!!! |
Dreamweaver |
ZeTi
|
|
|
|
como retirar a virgula do resultado dum split em string
|
Flash & ActionScript |
wilkerhck
|
|
|
|
Gif Animado no Orkut . Tem como ?
|
Dúvidas Gerais |
furiouschemical
|
|
Publicidade
|
|

Help













