js部分
$("#left_bottom li:even ").addClass("bg");
$("#left_bottom li:odd ").addClass("bg1");
});
html代码
css
.bg{background:url(../images/cy_07.gif) no-repeat left top;}
.bg1{background:url(../images/cy_09.gif) no-repeat left top;}
作者:nycqwert
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