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

Parsing ScrollPic only scrolls once in ie8 and then becomes blank. It is normal in ie6, ie7, chrome and firefox_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:31:061098browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn