Home > Web Front-end > JS Tutorial > 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
Release: 2016-05-16 17:31:06
Original
1114 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template