简体   繁体   中英

jQuery only slide 1st div in IE7 / IE8

i want to build a simple div slider with jQuery (example at http://jsfiddle.net/cM5fX/ ). All works fine in non-ie browsers and ie9. In IE7 and IE8 only the 1st div would be slide, the 2nd one stuck. Whats the problem here?

Greets Thomas

As you are animating the div which id is "first", it is only apply to it, and other are not repositioning according to first (ie IE 7).

so you can apply animate on $('#slideWrapper') instead of $('#first')

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM