|
|
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo
|
|
Kolorowy napis w html |
Autor |
Wiadomość |
adrian507120
zbanowany

Pomógł: 29 razy Posty: 746
|
Wysłany: 24-12-2008, 23:10 Kolorowy napis w html
|
|
|
Witam jak zrobic taki napis w html:
Kod: | http://www.vpx.pl/foto,bez_nazwy307.html |
chodiz mi o to że kolor czerowny przechodzi płynnie przez nais czy taka opcja jest dostepna w html ?? |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
xlesiu


Pomógł: 5274 razy Posty: 10382
|
Wysłany: 24-12-2008, 23:14
|
|
|
Kod: | <h2><script language="JavaScript1.2">
//Neon Lights Text II by G.P.F. (gpf@beta-cc.de)
//visit http://www.beta-cc.de
//Visit http://www.dynamicdrive.com for this script
var message="Thank you for visiting Dynamic Drive!"
var neonbasecolor="gray"
var neontextcolor="yellow"
var neontextcolor2="#FFFFA8"
var flashspeed=100 // speed of flashing in milliseconds
var flashingletters=3 // number of letters flashing in neontextcolor
var flashingletters2=1 // number of letters flashing in neontextcolor2 (0 to disable)
var flashpause=0 // the pause between flash-cycles in milliseconds
///No need to edit below this line/////
var n=0
if (document.all||document.getElementById){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</font>')
}
else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}
function neon(){
//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
crossref(m).style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor
if (n>flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2
if (n>(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",flashpause)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script></h2> |
|
_________________ Jak tłumaczysz mi coś z php to mów do mnie jak do labradora. / krwiodawcy.org |
|
|
|
 |
adrian507120
zbanowany

Pomógł: 29 razy Posty: 746
|
Wysłany: 24-12-2008, 23:23
|
|
|
dzięki lesiu spory tn kod :d |
|
|
|
 |
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach Nie możesz załączać plików na tym forum Możesz ściągać załączniki na tym forum
|
Dodaj temat do Ulubionych Wersja do druku
|
Kopiowanie wszelkich treści zawartych na forum, modyfikacji oraz instrukcji bez zgody administracji i autorów tematów/postów zabronione!
Powered by phpBB modified by Przemo © 2003 phpBB
|