Non riesco a capire quali parametri modificare...![]()
<STYLE>DIV {
POSITION: absolute
}
#divBottomButtons {
VISIBILITY: hidden; WIDTH: 135px; HEIGHT: 203px
}
#divBottomText {
VISIBILITY: inherit; WIDTH: 135px; HEIGHT: 90px
}
#divBottomCont {
VISIBILITY: hidden; WIDTH: 135px; CLIP: rect(0px 135px 90px 0px); HEIGHT: 90px
}
</STYLE>
<SCRIPT>
var n = (document.layers) ? 1:0;
var ie = (document.all) ? 1:0;
function makePageCoords(){this.x2=(n)?innerWidth:document.b ody.offsetWidth;
this.y2=(n)?innerHeight:document.body.offsetHeight ;return this;}
function makeObj(obj,nest){nest=(!nest) ? '':'document.'+nest+'.'
this.css=(n) ? eval(nest+'document.'+obj):eval('document.all.'+ob j+'.style')
this.ref=(n) ? eval(nest+'document.'+obj+'.document'):eval('docum ent');
this.x=(n)? this.css.left:this.css.pixelLeft;this.y=(n)? this.css.top:this.css.pixelTop;
this.showIt=b_showIt;this.moveIt=b_moveIt;return this}
function b_showIt(){this.css.visibility="visible"}
function b_moveIt(x,y){this.x=x; this.y=y;this.css.left=this.x;this.css.top=this.y}
function preLoad(num,path,path2){for(i=0; i<=num; i++){this[i]=new Image();
this[i].src=path+(i+1)+path2+'.jpg'}return this}
var imageHeight=90
var mspeed=0
function init(){
page=new makePageCoords()
oBButtons=new makeObj('divBottomButtons')
oBText=new makeObj('divBottomText',' divBottomCont')
oBCont=new makeObj('divBottomCont')
oBButtons.moveIt(page.x2-135,88)
oBCont.moveIt(oBButtons.x+0,0)
oBText.moveIt(0,3)
oBButtons.showIt()
oBCont.showIt()
}
function mover(num){moveTo(num)}
function mout(num){moveBack()}
var tim;
function moveTo(num){
clearTimeout(tim)
gt=-((num+1)*imageHeight)+3
if(oBText.y!=gt){
if(oBText.y<gt) oBText.moveIt(oBText.x,oBText.y+5)
else oBText.moveIt(oBText.x,oBText.y-5)
tim=setTimeout("moveTo("+num+")",mspeed)
}
}
function moveBack(){
clearTimeout(tim)
if(oBText.y!=3){oBText.moveIt(oBText.x,oBText.y+5) ; tim=setTimeout("moveBack()",mspeed)}
}
onload=init;
</SCRIPT>