0

I want to move more than one ball image in alternative behavior of HTML.(exactly like the screen saver ball m If i use marquee tag means, it doesn't cross each other. Both moving around separately with the div.

It should move around the div and if i place more than one image, those both images should cross each other..

Please give me the code snippet for this along with the jquery version.

4

2 回答 2

3

jScroller 是实现类似效果的好工具。

于 2009-03-04T10:22:28.667 回答
-1

我建议你和这个一起去。它真的很轻!

http://tonysamperi.github.io/endlessRiver/

Endless River 是一个 jQuery 插件,它可以为内容设置动画并使其无限滚动!

有用的功能是您不必为元素设置宽度,因为速度以像素/秒为单位!

EndlessRiver 将计算<li>元素的最佳宽度并保持速度不变!

于 2017-06-27T13:50:49.127 回答