-LiveGameS-


CalendarGalerieFAQCautareAcasaMembriGrupuriInregistrareConectare

Distribuiţi|

Text in derulare

Vezi subiectul anterior Vezi subiectul urmator In jos
AutorMesaj
Fondator


Rank: Fondator
Mesaje : 455
Puncte : 2006
Reputatie : 3
Data de inscriere : 28/07/2012
Varsta : 20
MesajSubiect: Text in derulare Lun Dec 09, 2013 6:16 pm

Text De Derulare

COD:
</script>
<table border="0" cellpadding="2" cellspacing="2" width="100%">
<tbody><tr><td class="content" align="center"><font size="3">

<span style="font-weight: bold;"><script language="JavaScript1.2">

/Flashing Neon /

var message="TEXTUL TAU"
var neonbasecolor="yellow"
var neontextcolor="Red"
var neontextcolor2="green"
var flashspeed=50 // speed of flashing in milliseconds
var flashingletters=1 // number of letters flashing in neontextcolor
var flashingletters2=0 // 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>
Sus In jos
Vezi profilul utilizatorului http://livegames.forumz.ro

Text in derulare

Vezi subiectul anterior Vezi subiectul urmator Sus
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
-LiveGameS- :: >>[LiveGameS]Zona phpBB :: Scripturi-
Copyrightˆ2013 by Khrystyan&zDs - Toate drepturile sunt rezervate.