Home > Web Front-end > JS Tutorial > The jQuery plug-in realizes the color change of alternate rows in the table and changes the color of the row highlighted by the mouse_jquery

The jQuery plug-in realizes the color change of alternate rows in the table and changes the color of the row highlighted by the mouse_jquery

WBOY
Release: 2016-05-16 17:21:50
Original
1122 people have browsed it

js code:
The jQuery plug-in realizes the color change of alternate rows in the table and changes the color of the row highlighted by the mouse_jquery
css code:

Copy code The code is as follows:

tr.alt td {
background:#ecf6fc; /*This line will add a background color to all tr*/
}
tr.over td {
background:#bcd4ec; /*This will be the background color of the mouse highlighted line*/
}
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