<script language=javaScript> <!-- var thissize=30 var textfont="Arial" var i_color=0 var i_message=0 var textcolor= new Array() textcolor[0] ="FFFFFF" textcolor[1] ="FFF8F8" textcolor[2] ="FFF0F0" textcolor[3] ="FFD8D8" textcolor[4] ="FFD0D0" textcolor[5] ="FFC8C8" textcolor[6] ="FFC0C0" textcolor[7] ="FFB8B8" textcolor[8] ="FFB0B0" textcolor[9] ="FFA8A8" textcolor[10] ="FFA0A0" textcolor[11] ="FF9898" textcolor[12] ="FF9090" textcolor[13] ="FF8888" textcolor[14] ="FF8080" textcolor[15] ="FF7878" textcolor[16] ="FF7070" textcolor[17] ="FF6868" textcolor[18] ="FF6060" textcolor[19] ="FF5858" textcolor[20] ="FF5050" textcolor[21] ="FF4848" textcolor[22] ="FF4040" textcolor[23] ="FF3838" textcolor[24] ="FF3030" textcolor[25] ="FF2828" textcolor[26] ="FF2020" textcolor[27] ="FF1818" textcolor[28] ="FF1010" textcolor[29] ="FF0808" textcolor[30] ="FF0000" var message = new Array() message[0]="Привет вебмастер!" message[1]="Ты наблюдаешь работу скрипта." message[2]="Сюда можно вписать свой текст." message[3]="И настрить фон текста." message[4]="Поситите сайт web.3dn.ru" message[5]="Все для вашего сайта" message[6]="Удачи!" function morecolor() { if (i_color <= textcolor.length-1) { if(document.all) { zoomer.innerHTML="<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor[i_color]+"'>"+message[i_message]+"</span>" } if(document.layers) { document.zoomer.document.write("<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor[i_color]+"'>"+message[i_message]+"</span>") document.close() } i_color++ var timer=setTimeout("morecolor()",50) } else { i_color-- clearTimeout(timer) var intermezzo=setTimeout("lesscolor()",1000) } } function lesscolor() { if (i_color >= 0) { if(document.all) { zoomer.innerHTML="<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor[i_color]+"'>"+message[i_message]+"</span>" } if(document.layers) { document.zoomer.document.write("<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor[i_color]+"'>"+message[i_message]+"</span>") document.close() } i_color-- var timer=setTimeout("lesscolor()",50) } else { i_message++ if (i_message >= message.length) {i_message=0} i_color=0 clearTimeout(timer) var intermezzo=setTimeout("morecolor()",1000) } } // - End of JavaScript - --> </script>
|