CIAO. Questo lo mettin nel <HEAD>
codice:
<head>
<script>
lstart=200
loop=true
speed=160
pr_step=5
var n = (document.layers) ? 1:0;
var ie = (document.all) ? 1:0;
function makeObj(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
this.css=(n) ? eval(nest+'document.'+obj):eval(obj+'.style')
this.scrollHeight=n?this.css.document.height:eval(obj+'.offsetHeight')
this.up=goUp
this.obj = obj + "Object"
eval(this.obj + "=this")
return this
}
function goUp(speed){
if(parseInt(this.css.top)>-this.scrollHeight){
this.css.top=parseInt(this.css.top)-pr_step
setTimeout(this.obj+".up("+speed+")",speed)
}else if(loop) {
this.css.top=lstart
eval(this.obj+".up("+speed+")")
}
}
function slideInit(){
oSlide=makeObj('divNews','divCont')
oSlide.css.top=lstart
oSlide.up(speed)
}
onload=slideInit
</script>
<style>
<!--
div.Section1
{page:Section1;}
-->
</style>
</head>
E questo lo metti nel <DIV>
codice:
<div align="center">
<div id="divCont" style="position:absolute; width:151px; height:150; top:120px; left:130px; clip:rect(0,300,150,0)">
<div id="divNews" style="position:absolute; top:157px; left:7px; width:136px; height:166px">
<p style="margin-top: 0; margin-bottom: 0"><font size="1">"INSERISCI QUI IL TESO".</font></div>
</div>
Ciao