codice:
if(N6 || nn){
stile = document.styleSheets[0].cssRules;
}else{
stile = document.styleSheets[0].rules;
}
function newsticker(){
LayText = (!N6 && !nn) ? stile[19].style : stile[16].style;
LayText.visibility="visible";
AltezzaLivello=parseInt(LayText.fontSize);
Limite=(nn?LayText.document.height:N6?document.getElementById("box").offsetHeight:document.all.box.clientHeight)-AltezzaLivello;
setTimeout("newstickerMove()",Intervallo);
}
function newstickerMove(){
LayText.top = ( (-parseInt(LayText.top)==Limite) ? (0+"px") : (parseInt(LayText.top)-1+"px") );
if(-parseInt(LayText.top) % AltezzaLinee != 0 ){
setTimeout("newstickerMove()",Velocita);
}else{
setTimeout("newstickerMove()",Intervallo);
}
}
newsticker() per l'inizializzazione del tutto.
newstickerMove() per il movimento.
boooooh!!!