Webpage marquee grammar that will automatically stop when you mouse in
The multiple presentation methods of the webpage marquee have created a lot of applications. In addition to the common simple running method, if it is used in an information bar such as the latest news, it is best to add a mouse to it and it will automatically The effect of stopping is closer to the needs of users.
The mouse moves into the marquee syntax that automatically stops
Rendering effect
What’s more special is that in the marquee setting, we have added Javascript syntax, onMouseOver means that when the mouse moves in, execute the this.stop() command, which is to stop the marquee, and onMouseOut means the mouse When removing, execute this.start() command to let the marquee continue to run.
Post a Comment
0 Comments