Discuz!NT|BBS|论坛

注册

 

发新话题 回复该主题

有人精通网页设计吗? [复制链接]

1#

有人精通网页设计吗?

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}
        }

我希望不是上下移动,而是左右移动,应该怎么改?
分享 转发
╔━─────────━╗ │你是猪啊,你感觉不到我│ │ 很在乎你啊?.oоΟ │ ╚━─────────━╝
TOP
2#
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}
}

嘿嘿,我没学过网页编程,随便帮你改改,错了别怪我
TOP
发新话题 回复该主题