Home > Web Front-end > JS Tutorial > body text

JavaScript four-direction gapless scrolling collection (multi-browser IE, firefox compatible)_Typical special effects

WBOY
Release: 2016-05-16 19:04:36
Original
1208 people have browsed it

Learning... This section of JS production reference MSClass.js

Copy code The code is as follows:

boxmove(d1,d2,d3,e,obj)
d1 = Peripheral container
d2 = Content
d3 = Copy the content of d2 to replace the circular scrolling
e = Direction and method
1 ,2,3,4 = Automatic scrolling, corresponding to: top, right, bottom, left respectively
"top", "right", "bottom", "left" = Manual scrolling, corresponding to: top, right, bottom ,Left
obj = Set to this when manual scrolling is selected, used for event binding operations. No settings are required for automatic scrolling.


[Ctrl A 모두 선택 참고: 외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다. ]

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