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

li improved version of interlaced color change_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:04:33999browse

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 ]
Statement:
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