Показать сообщение отдельно

  #2  
Старый 18.04.2008, 19:13
Isis
Флудер
Регистрация: 20.11.2006
Сообщений: 3,316
Провел на форуме:
16641028

Репутация: 2371


По умолчанию

PHP код:
<html>
<
body>

<
script language="JavaScript1.2">


//Specify the marquee's width (in pixels)

var marqueewidth=150

//Specify the marquee's height

var marqueeheight=150

//Specify the marquee's scroll speed (larger is faster)

var speed=2

//Specify the marquee contents

var marqueecontents='<font face="Arial"><strong><big>Скоролинг текста со <a href="http://">ССЫЛКАМИ</a> Можно использовать на главной странице сайта <a href="http://">сайта.</a></big></strong></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>





<
ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">

<
layer name="cmarquee02" width=&{marqueewidth}; height=&{marqueeheight};></layer>

</
ilayer>
</
CENTER>
</
body>
</
html
 
Ответить с цитированием