阅读背景:

当div移动到屏幕的一边时,如何反转方向?

来源:互联网 

I have an absolutely positioned div that uses the jQuery .animate function to move horizontally from the right to left of the screen. My problem is that once the div reaches the far left side, it continues and eventually disappears from the screen. How do you make it so that once the div reaches the left side, it will reverse and start going to the right? (and then vice versa so that the right side won't continue going right, but goes left again once it reaches the end)I have an absolutely positioned div that uses t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: