Главная | Регистрация | Вход Приветствую Вас Гость | RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Разное » Скрипты для UCOZ » Бегающий заголовок
Бегающий заголовок
fabaДата: Пятница, 24.04.2009, 01:19 | Сообщение # 1
Фабчик xD
Группа: Администраторы
Сообщений: 38
Награды: 2
Репутация: 0
Статус: Offline
Code
<script language=JavaScript>  
var titletext="Сборник JavaScripts > Бегающий заголовок"  
var thetext=""  
var started=false  
var step=0  
var times=1  
function welcometext()  
{  
times--  
if (times==0)  
{  
if (started==false)  
{  
started = true;  
document.title = titletext;  
setTimeout("anim()",1);  
}  
thetext = titletext;  
}  
}  
function showstatustext(txt)  
{  
thetext = txt;  
setTimeout("welcometext()",4000)  
times++  
}  
function anim()  
{  
step++  
if (step==29) {step=1}  
if (step==29) {document.title='[ ucoz.at.ua ~~~~~~~~~~~~~~]'}  
if (step==28) {document.title='[~ ucoz.at.ua ~~~~~~~~~~~~~]'}  
if (step==27) {document.title='[~~ ucoz.at.ua ~~~~~~~~~~~~]'}  
if (step==26) {document.title='[~~~ ucoz.at.ua ~~~~~~~~~~~]'}  
if (step==25) {document.title='[~~~~ ucoz.at.ua ~~~~~~~~~~]'}  
if (step==24) {document.title='[~~~~~ ucoz.at.ua ~~~~~~~~~]'}  
if (step==23) {document.title='[~~~~~~ ucoz.at.ua ~~~~~~~~]'}  
if (step==22) {document.title='[~~~~~~~ ucoz.at.ua ~~~~~~~]'}  
if (step==21) {document.title='[~~~~~~~~ ucoz.at.ua ~~~~~~]'}  
if (step==20) {document.title='[~~~~~~~~~ ucoz.at.ua ~~~~~]'}  
if (step==19) {document.title='[~~~~~~~~~~ ucoz.at.ua ~~~~]'}  
if (step==18) {document.title='[~~~~~~~~~~~ucoz.at.ua ~~~]'}  
if (step==17) {document.title='[~~~~~~~~~~~~ ucoz.at.ua ~~]'}  
if (step==16) {document.title='[~~~~~~~~~~~~~ ucoz.at.ua ~]'}  
if (step==15) {document.title='[~~~~~~~~~~~~~~ ucoz.at.ua ]'}  
if (step==14) {document.title='[~~~~~~~~~~~~~ ucoz.at.ua ~]'}  
if (step==13) {document.title='[~~~~~~~~~~~~ ucoz.at.ua ~~]'}  
if (step==12) {document.title='[~~~~~~~~~~~ ucoz.at.ua ~~~]'}  
if (step==11) {document.title='[~~~~~~~~~~ ucoz.at.ua ~~~~]'}  
if (step==10) {document.title='[~~~~~~~~~ucoz.at.ua ~~~~~]'}  
if (step==9) {document.title='[~~~~~~~~ ucoz.at.ua ~~~~~~]'}  
if (step==8) {document.title='[~~~~~~~ ucoz.at.ua ~~~~~~~]'}  
if (step==7) {document.title='[~~~~~~ ucoz.at.ua ~~~~~~~~]'}  
if (step==6) {document.title='[~~~~~ ucoz.at.ua ~~~~~~~~~]'}  
if (step==5) {document.title='[~~~~ ucoz.at.ua ~~~~~~~~~~]'}  
if (step==4) {document.title='[~~~ ucoz.at.ua ~~~~~~~~~~~]'}  
if (step==3) {document.title='[~~ ucoz.at.ua ~~~~~~~~~~~~]'}  
if (step==2) {document.title='[~ ucoz.at.ua ~~~~~~~~~~~~~]'}  
if (step==1) {document.title='[ ucoz.at.ua ~~~~~~~~~~~~~~]'}  

setTimeout("anim()",150); //скорость выбега, чем больше тем медленней выбег.  
}  
if (document.title)  
window.onload=onload=welcometext  
</script>
 
Форум » Разное » Скрипты для UCOZ » Бегающий заголовок
  • Страница 1 из 1
  • 1
Поиск:

Сайт клана 3.14zdc |