/*
Cross browser marquee script II
*/
//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=‘Tu możesz wpisać dowolny tekst z dowolnym formatowaniem, także możliwością uwzględniania stylów, a także odnośnikami do innych stron, poczty, itp. Nie móżna tylko zammieszczać znaku apostrofu.’
if (document.all)
document.write(’
style=“width:’+marqueewidth+’;height:’+marqueeheight+’”>’+marqueecontents+’
')
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