Home >Web Front-end >JS Tutorial >li improved version of interlaced color change_javascript skills
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