<SCRIPT language=JavaScript1.2>
/* Neon Lights Text By JavaScript Kit (http://javascriptkit.com) Over 400+ free scripts here! */
var message="hitetlen honlapja,a Te honlapod!" var neonbasecolor="gray" var neontextcolor="yellow" var flashspeed=100 //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++) //eval("document.all.neonlight"+m).style.color=neonbasecolor crossref(m).style.color=neonbasecolor }
//cycle through and change individual letters to neon color crossref(n).style.color=neontextcolor
if (n<message.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500) return } }
function beginneon(){ if (document.all||document.getElementById) flashing=setInterval("neon()",flashspeed) } beginneon()
</SCRIPT>
A szöveg méretét nem tudom állítani--ha lehet is,és nem találom. A szín pirossal kijelőltem. A szöveget meg látni.
<CENTER></CENTER>kóddal középre igazítod,ha szükséges.
Újra belépve a szerkesztésébe,és újra leokézva nem működik,ezért mielött másodszorra is leokézod,elötte törőld a végére beíródó kódot. Pirossal kiemeltem,mit kell törőlni:
<SCRIPT language=JavaScript1.2>
/* Neon Lights Text By JavaScript Kit (http://javascriptkit.com) Over 400+ free scripts here! */
var message="hitetlen honlapja,a Te honlapod!" var neonbasecolor="gray" var neontextcolor="yellow" var flashspeed=100 //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++) //eval("document.all.neonlight"+m).style.color=neonbasecolor crossref(m).style.color=neonbasecolor }
//cycle through and change individual letters to neon color crossref(n).style.color=neontextcolor
if (n<message.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500) return } }
function beginneon(){ if (document.all||document.getElementById) flashing=setInterval("neon()",flashspeed) } beginneon()
</SCRIPT> <FONT color=gray><SPAN id=neonlight0 style="COLOR: yellow">h</SPAN><SPAN id=neonlight1 style="COLOR: yellow">i</SPAN><SPAN id=neonlight2 style="COLOR: yellow">t</SPAN><SPAN id=neonlight3 style="COLOR: yellow">e</SPAN><SPAN id=neonlight4 style="COLOR: yellow">t</SPAN><SPAN id=neonlight5 style="COLOR: yellow">l</SPAN><SPAN id=neonlight6 style="COLOR: yellow">e</SPAN><SPAN id=neonlight7 style="COLOR: yellow">n</SPAN><SPAN id=neonlight8 style="COLOR: yellow"> </SPAN><SPAN id=neonlight9 style="COLOR: yellow">h</SPAN><SPAN id=neonlight10 style="COLOR: yellow">o</SPAN><SPAN id=neonlight11 style="COLOR: yellow">n</SPAN><SPAN id=neonlight12 style="COLOR: yellow">l</SPAN><SPAN id=neonlight13 style="COLOR: yellow">a</SPAN><SPAN id=neonlight14 style="COLOR: yellow">p</SPAN><SPAN id=neonlight15 style="COLOR: yellow">j</SPAN><SPAN id=neonlight16 style="COLOR: yellow">a</SPAN><SPAN id=neonlight17 style="COLOR: yellow">,</SPAN><SPAN id=neonlight18 style="COLOR: yellow">a</SPAN><SPAN id=neonlight19 style="COLOR: yellow"> </SPAN><SPAN id=neonlight20 style="COLOR: yellow">T</SPAN><SPAN id=neonlight21 style="COLOR: yellow">e</SPAN><SPAN id=neonlight22 style="COLOR: yellow"> </SPAN><SPAN id=neonlight23 style="COLOR: yellow">h</SPAN><SPAN id=neonlight24 style="COLOR: yellow">o</SPAN><SPAN id=neonlight25 style="COLOR: yellow">n</SPAN><SPAN id=neonlight26 style="COLOR: yellow">l</SPAN><SPAN id=neonlight27 style="COLOR: yellow">a</SPAN><SPAN id=neonlight28 style="COLOR: yellow">p</SPAN><SPAN id=neonlight29 style="COLOR: yellow">o</SPAN><SPAN id=neonlight30 style="COLOR: yellow">d</SPAN><SPAN id=neonlight31 style="COLOR: yellow">!</SPAN></FONT>
Gyere máskor is,hisz a lista bővűl! hitetlen
|