开发者

jQuery Update and Scroll like Polling

Looking for something written in jQuery which all开发者_如何学Goows polling or a plugin which would allow data updates similar to this website.

Anyone got any ideas of something like this in jQuery ? Or how to write something ?


You can prepend the div first with display none using preepend() function. And then for the slide animation use $("#div-1").slideToggle("slow");

For update your list you can set an ajax function to check periodically with setInterval() javascript function and call prepend function with the new line.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜