ZOBRAZENIE TEXTU

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

176
p176.html / p176.zip
Pismeno po pismene sa efektne zobrazuje text
2518b
NN 4.04

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <body bgcolor="#000000" link="#ff0000" vlink="606000" text="#000000" onload="startmachinery();"> <head> <title>JavaScript DESTINATION - P176</title> </head> <layer name="canvas0" top=120 left=160 width="100%" height="300"></layer> <layer name="canvas1" top=120 left=160 width="100%" height="300"></layer> <layer name="canvas2" top=120 left=160 width="100%" height="300"></layer> <layer name="canvas3" top=120 left=160 width="100%" height="300"></layer> <layer name="canvas4" top=120 left=160 width="100%" height="300"></layer> <layer name="canvas5" top=120 left=160 width="100%" height="300"></layer> <layer name="canvas6" top=120 left=160 width="100%" height="300"></layer> <script> <!-- function startmachinery() { q="JavaScript.sk !"; generate_char(q,15); } function generate_char(cc,eend) { document.layers['canvas0'].document.open('text/html'); j=0; for(i=0;i<eend;i++) { dd=cc.charAt(i); document.layers['canvas0'].document.write('<ilayer visibility="hide" name="c'+j+'b'+i+'"><font color="#ffffff" point-size="'+(j+2)+'0pt">'+dd+'</font></ilayer>'); } document.layers['canvas0'].document.close(); create_the_rest(cc,eend); } function create_the_rest(cc,eend) { for(j=1;j<6;j++) { document.layers["canvas"+j].document.open('text/html'); for(i=0;i<eend;i++) { dd=cc.charAt(i); tt=document.layers['canvas0'].document.layers['c'+0+'b'+i].top; ll=document.layers['canvas0'].document.layers['c'+0+'b'+i].pageX; if(j==5) colortext="#151515"; if(j==4) colortext="#555555"; if(j==3) colortext="#888888"; if(j==2) colortext="#bbbbbb"; if(j==1) colortext="#ffffff"; document.layers['canvas'+j].document.write('<layer visibility="hide" name="c0b'+i+'" top="'+tt+'" left="'+ll+'"><i><font face="Times" color="'+colortext+'" point-size="'+(j*2)+'0pt">'+dd+'</font></i></layer>'); } document.layers["canvas"+j].document.close(); } shotthem(); } jcounter=5; icounter=0; var lastlayer; function shotthem() { document.layers["canvas"+jcounter].document.layers["c0b"+icounter].visibility="show"; if(jcounter==5&&icounter==0) { } else { if(jcounter!=5) lastlayer.visibility="hide"; } lastlayer=document.layers["canvas"+jcounter].document.layers["c0b"+icounter]; jcounter--; if(jcounter==0) { jcounter=5; icounter++; } if(icounter<15) setTimeout("shotthem()",20); } // --> </script> </html> </body>
[ Navrat / BACK ]