Главная » Файлы » Скрипты uCoz |
Текст плавно затухает и меняется на другой
13.12.2009, 00:39 | |
Ставим в head:
Code var isNav=(navigator.appName.indexOf("Netscape")!=-1);a=0;b=1;ob=1; var colors=new Array("FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF","F9F9F9","F1F1F1","E9E9E9","E1E1E1","D9D9D9","D1D1D1","C9C9C9","C1C1C1","B9B9B9","B1B1B1","A9A9A9","A1A1A1","999999","919191","898989","818181","797979","717171","696969","616161","595959","515151","494949","414141","393939","313131","292929","212121","191919","111111","090909","000000") function strobeEffect(){color=colors[a]; aah="<table width=200><td><center><font color="+color+" face=arial size=+2>";aab="</font></a></center></td></table>" ob1="Добро пожаловать на ucoz-chebur!" ob2="Большая коллекция скриптов" ob3="php, javascript, ucoz" obj=eval("ob"+ob);mid=obj;aa=aah+mid+aab if(isNav) {document.object1.document.write(aa);document.object1.document.close();} else {object1.innerHTML=aa} a+=b;if (a==38) b-=2,ob+=1;if (ob==4)ob=1;if (a==0) b+=2;xx=setTimeout("strobeEffect()",20);} </SCRIPT> body заменяем на это:
Code <BODY bgColor=#202020 onload=checkBrowserForVersion4()> <DIV id=objectx style="LEFT: 100px; POSITION: absolute; TOP: 10px; Z-INDEX: 2"> </DIV> <DIV id=object1 style="LEFT: 100px; POSITION: absolute; TOP: 50px; Z-INDEX: 2"></DIV> | |
Просмотров: 428 | Загрузок: 0 | Рейтинг: 0.0/0 |
Всего комментариев: 0 | |