00 14/07/2005 15:18
Questo il codice prelevato da WebLink


<script language="JavaScript1.2">
<!-- // Prelevato su www.web-link.it -->
//Specify the marquee's width (in pixels)
var marqueewidth=330
//Specify the marquee's height
var marqueeheight=150
//Specify the marquee's scroll speed (larger is faster)
var speed=1
//Specify the marquee contents
var marqueecontents='<center><center><font face="Comic Sans MS"><strong>Web-Link</strong> <br><br>Tutto per la tua pagina web!!!</font><br><br>Visita il forum dove troverai amici e consigli per risolvere più facilmente eventuali problemi con html e tutto quello che fa parte del tuo sito web. <br><br><a href="http://www.ilmioforum.com/cgi-bin/forum/forum_show.pl"><font color="#ff0000">Visita il forum adesso!!!</font></a><br><br> per farlo ti basta un click sulla scritta rossa.</center></center>'

if (document.all){
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')}
else if(document.layers){
document.write('<ilayer id="cmarquee01" width="'+marqueewidth+'" height="'+marqueeheight+'"><layer id="cmarquee02" width="'+marqueewidth+'" height="'+marqueeheight+'"></layer></ilayer>')}

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>