人人有本用

首页 » 休闲 » 水淹虫窝 » 有人精通网页设计吗?
特紧张 - 2002/9/12 22:12:00
function movstar(a,time){
    movx=setInterval("mov("+a+")",time)
    }
function movover(){
    clearInterval(movx)
    }
function mov(a){
    scrollx=new_date.document.body.scrollLeft
    scrolly=new_date.document.body.scrollTop
    scrolly=scrolly+a
    new_date.window.scroll(scrollx,scrolly)
    }
function o_down(theobject){
object=theobject
    while(object.filters.alpha.opacity>60){
        object.filters.alpha.opacity+=-10}
        }
function o_up(theobject){
object=theobject
    while(object.filters.alpha.opacity<100){
        object.filters.alpha.opacity+=10}
        }

我希望不是上下移动,而是左右移动,应该怎么改?
messup - 2002/9/13 0:59:00
function movstar(a,time){
movx=setInterval("mov("+a+")",time)
}
function movover(){
clearInterval(movx)
}
function mov(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrollx=scrollx+a
new_date.window.scroll(scrollx,scrolly)
}
function o_down(theobject){
object=theobject
while(object.filters.alpha.opacity>60){
object.filters.alpha.opacity+=-10}
}
function o_up(theobject){
object=theobject
while(object.filters.alpha.opacity<100){
object.filters.alpha.opacity+=10}
}

嘿嘿,我没学过网页编程,随便帮你改改,错了别怪我
1
查看完整版本: 有人精通网页设计吗?