MSClass (Class Of Marquee Scroll Universal Uninterrupted Scrolling JS Encapsulation Class) Ver 1.65
Production Time: 2006-08-29 (Ver 0.5)
Release Time: 2006-08-31 (Ver 0.8)
Update time: 2007-12-28 (Ver 1.65)
Update description: Added functions * Correction and improvement
1.65.071228
* Horizontal and vertical scrolling format adjustment (solve horizontal scrolling line breaks problem, no special settings are required)
* Completely solve the problem of blank scrolling pages due to IE problems (this update mainly solves this problem, thank you for participating in the test)
1.6.070131
Forbidden Mouse control to pause or continue (set the 9th parameter to -1 or dynamically assign ScrollSetp to -1)
Determine whether scrolling is possible (if the content area is smaller than the display area, scrolling will be automatically canceled)
Skip Initialization error (to avoid causing other scrolling to stop)
Default value (except the container ID, which is required, other parameters can be selected and set according to the situation)
Parameter dynamic assignment (the direction can be expressed in English as top|up|bottom| down|left|right, making it more intuitive and convenient)
* Text scrolling is inaccurate (the main purpose of this update is to solve this bug, thanks Zhou Jun for participating in the test)
1.4.061211
Mouse hover change Scroll direction (mouse hover controls left and right scrolling)
* The obtained height/width is inaccurate due to slow document downloading
* Browser compatibility issues (IE, FF, Opera, NS, MYIE)
1.2.060922
Intermittent scrolling within the specified range
* Program adjustment
Start waiting time
Continuous scrolling
*Adjust time unit
*Scrolling error
*Random infinite loop
*Enhance performance
by Uninterrupted scrolling upward and downward Scroll left
Copy code
The code is as follows: