Home > Web Front-end > JS Tutorial > li improved version of interlaced color change_javascript skills

li improved version of interlaced color change_javascript skills

WBOY
Release: 2016-05-16 19:04:33
Original
1022 people have browsed it

ghhs("nav01","li"); // Change color when the mouse passes over
ghhs("nav02", "li", "no"); // Only change colors every other line
ghhs("nav03", "li","onclick"); // The current mark changes color when the mouse clicks


[Ctrl A select all Note:
If you need to introduce external Js, you need to refresh to execute ]
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