Home >php教程 >php手册 >thinkphp和jquery隔行换色

thinkphp和jquery隔行换色

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:51:20993browse

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