All-For-Kompa.RU

Сегодня:
Карта сайта форум Главная
Скрыть рекламный блок
  • Страница 1 из 1
  • 1
Модератор форума: Vladislavik-36  
Форум » Движки » uCoz » ScrollTable
ScrollTable
leonP4Дата: Понедельник, 02.02.2009, 20:51 | Сообщение # 1
.:хакер:.
Группа: Администратор
Сообщений: 664
Награды: 11
Статус: Offline
ScrollTable
Описание: По-моему, тут все даже ежику понятно...

Скрипт:[spoiler]
<TABLE border=1> <TBODY> <TR> <TD align=left bgColor=#aaaaaa> <SCRIPT language=JavaScript1.2> window.onload=regenerate2 var marqueewidth=180 var marqueeheight=50 var speed=3 var marqueecontents= '<h2><center>Здесь Вы пишите текст (в одну строчку) (с тегами)</center>' 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",500) intializemarquee() } } function intializemarquee(){ document.marq1.document.marq2.document.write(marqueecontents) document.marq1.document.marq2.document.close() thelength=document.marq1.document.marq2.document.height scrollit() } function scrollit(){ if (document.marq1.document.marq2.op>=thelength*(-1)){ document.marq1.document.marq2.top-=speed setTimeout("scrollit()",200) } else{ document.marq1.document.marq2.top=marqueeheight scrollit() } } </SCRIPT> <ILAYER name="marq1" height="&{marqueeheight};" width="&{marqueewidth};"><LAYER name="marq2" height="&{marqueeheight};" width="&{marqueewidth};"> </LAYER></ILAYER></TD></TR></TBODY></TABLE> [/spoiler]


Админ - Первый источник флуда на форуме =)
 
Форум » Движки » uCoz » ScrollTable
  • Страница 1 из 1
  • 1
Поиск:
Реклама