开发者

i want to move text up (repeatdly) using javascript?

开发者 https://www.devze.com 2023-02-22 09:48 出处:网络
i want to move text up (repeatedly)using java-script ?? i want to move the last topics (for example) up (repeatedly) in Vertically开发者_开发问答 way ..

i want to move text up (repeatedly) using java-script ??

i want to move the last topics (for example) up (repeatedly) in Vertically开发者_开发问答 way ..

how could i do that???

Regards, Buffon


can't you just change the top value in css using a timeout? or do you want transitions?

setTimeout(function () {
    $('#element').css({'top': '50px'});             
},1000);

1000 = 1s

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号