|
Онлайн всего: 1 Гостей: 1 Пользователей: 0
|
|
Пятница, 03.05.2024, 04:24 | |
|
Фотостудия "Milagros", фотографы M&E |
Приветствую Вас Гость | RSS |
Полоса прокрутки баннеров
<script language="JavaScript1.2"> //Ширина окна
(в пикселях) var marqueewidth=150 //Высота
окна var marqueeheight=150 //Скорость
скролинга var speed=2 //Текст, который будет
отображатся var marqueecontents='<font
face="Verdana, Tahoma" size="2">Посетите сайт <a
href="http://ymilagros.at.ua/">Milagros</a>.</font>' if
(document.all) document.write('<marquee direction="up" scrollAmount=' +
speed + ' style="width:' + marqueewidth + ';height:' + marqueeheight + '">' +
marqueecontents + '</marquee>') function
regenerate(){ window.location.reload() } function regenerate2(){ if
(document.layers){ setTimeout("window.onresize=regenerate",450) intializemarquee() } } function
intializemarquee(){ document.cmarquee01.document.cmarquee02.document.write(marqueecontents) document.cmarquee01.document.cmarquee02.document.close() thelength=document.cmarquee01.document.cmarquee02.document.height scrollit() } function
scrollit(){ if
(document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){ document.cmarquee01.document.cmarquee02.top-=speed setTimeout("scrollit()",100) } else{ document.cmarquee01.document.cmarquee02.top=marqueeheight scrollit() } } window.onload=regenerate2 </script>
|
Категория: Полезное для вас | Добавил: Milagros (15.01.2009)
|
Просмотров: 1335
|
Добавлять комментарии могут только зарегистрированные пользователи. [ Регистрация | Вход ]
|
| |