Home > Article > Web Front-end > Parsing ScrollPic only scrolls once in ie8 and then becomes blank. It is normal in ie6, ie7, chrome and firefox_javascript skills
There are many suggestions on the Internet to add a sentence in
: or can be solved. The actual test has no effect at all. It turns out that there is a cssFloat style in ScrollPic.js that is supported by all except ie, but tmd ie does not support it. The solution is changed for styleFloat. At this time, you will find that it is normal under IE, but other browsers only scroll once. The solution is to first use js to determine the browser type, and then use different styles: cssFloat or styleFloat.