Home Web Front-end JS Tutorial Class Of Marquee Scroll Universal uninterrupted scrolling JS encapsulation class_lib_js

Class Of Marquee Scroll Universal uninterrupted scrolling JS encapsulation class_lib_js

May 16, 2016 pm 07:03 PM
marquee scroll

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:



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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is scroll button? What is scroll button? Feb 22, 2023 pm 02:29 PM

scroll is the scroll lock key, a function key on a computer keyboard. The scroll key is commonly used in word and Excel. When Scroll Lock is turned off and the page turning key is used, the selected area of ​​cells will move; but when the Scroll Lock key is pressed, the selected area will not move. of cells.

What does the keyboard scroll light mean? What does the keyboard scroll light mean? Feb 20, 2023 pm 01:42 PM

The keyboard scroll light on means that the "Scroll Lock" is enabled; the Scroll Lock key is not used in the win system, but some software will use this function key. After pressing this key, the Excel up and down keys will lock when scrolling. The cursor scrolls the page; if you release this key, pressing the up and down keys will scroll the cursor without scrolling the page.

How to understand scroll How to understand scroll May 23, 2023 pm 01:40 PM

scroll width and height scrollHeight scrollHeight represents the total height of the element, including the invisible part that cannot be displayed on the web page due to overflow scrollWidth scrollWidth represents the total width of the element, including the invisible part that cannot be displayed on the web page due to overflow [Note] IE7-Browser The return value is inaccurate [1] When there is no scroll bar, the scrollHeight and clientHeight attributes are equal, and the scrollWidth and clientWidth attributes are equal //120120console.log(test.scrollHeight,test.s

How to use v-on:scroll to listen for scrolling events in Vue How to use v-on:scroll to listen for scrolling events in Vue Jun 11, 2023 pm 12:14 PM

Vue is one of the more popular front-end frameworks currently. In addition to common event monitoring, Vue also provides an instruction for monitoring scroll events, namely v-on:scroll. This article will introduce in detail how to use v-on:scroll to listen for scroll events in Vue. 1. Basic usage of v-on:scroll instruction The v-on:scroll instruction is used to monitor the scrolling events of DOM elements. Its basic usage is as follows: <divv-on:scroll="sc

How to hide scroll in css How to hide scroll in css Jan 28, 2023 pm 02:02 PM

How to hide scroll in CSS: 1. In Firefox, you can hide the scroll bar through the "scrollbar-width: none; /* Firefox */" attribute; 2. In IE browser, you can use the "-ms-prefix" attribute Define the scroll bar style; 3. In Chrome and Safari, you can use the CSS scroll bar selector and then hide it through "display:none".

What are the marquee parameters? What are the marquee parameters? Oct 18, 2023 am 10:10 AM

marquee参数有direction、behavior、speed、scrolldelay、width、height、bgcolor、cursor、id、align、noresize、nohover、loopcount、bgcolorcolor、scrollamount和vspa。

What is Ethereum scroll? How to operate Ethereum scroll? What is Ethereum scroll? How to operate Ethereum scroll? Feb 15, 2025 pm 10:33 PM

Ethereum Scroll is a layer 2 scaling solution designed to improve the scalability of the Ethereum network through sharding and ZK-Rollup technologies. It combines these two technologies to process transactions in parallel and verify efficiently, thereby significantly improving network throughput and reducing transaction fees. Scroll is designed to be a compatible extension layer for Ethereum Virtual Machines (EVMs), allowing users to process transactions quickly and economically.

Scroll (SCR) Pre-Market Futures Plunge to Record Low of $1.18 Ahead of Oct. 19 Airdrop Scroll (SCR) Pre-Market Futures Plunge to Record Low of $1.18 Ahead of Oct. 19 Airdrop Oct 12, 2024 am 12:34 AM

Scroll, the fast-growing zero-knowledge layer-2 network, confirmed that it would launch its airdrop on Oct. 19.

See all articles