js代码:
$(".xiaolei:even img").addClass("tabEven");
$(".xiaolei:odd img").addClass("tabOdd");
});
<Script language="JavaScript" type="text/javascript">
$(document).ready(function () {$(".xiaolei:even img").addClass("tabEven");
$(".xiaolei:odd img").addClass("tabOdd");
});
</Script>
html代码:
<volist name="hldr" id="vo">
<div class="xiaolei" >
<a href="__URL__/文件名称?id={$vo.products_id}"><img src="../{$vo.products_thumb}" width="60px" height="60px" /> </a>
<p>{$vo.products_color}</p>
</div>
</volist>
9691

被折叠的 条评论
为什么被折叠?



