织梦cms怎样实现列表页每调用5条输出一个空行以及以下代码是什么意思
1、织梦cms怎样实现列表页每调用5条输出一个空行?2、以下代码是什么意思:<divclass="list"><script>$(function(){$(".lb_ne...
1、织梦cms怎样实现列表页每调用5条输出一个空行?
2、以下代码是什么意思:
<div class="list">
<script>
$(function(){
$(".lb_news li").hover(function(){
$(this).addClass("over");
},function(){
$(this).removeClass("over");
})
})
</script>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<div class="dede_pages1">
<div class="gglb8"><script>list172_article_08();</script></div>
<ul class="pagelist">
<li class="thisclass">1</li>
<li><a href='list_12.html'>2</a></li>
<li><a href='list_13.html'>3</a></li>
<li><a href='list_12.html'>下一页</a></li>
</ul>
<div class="gglb9"><script>list172_article_09();</script></div>
</div>
<div class="block10"></div>
</div> 展开
2、以下代码是什么意思:
<div class="list">
<script>
$(function(){
$(".lb_news li").hover(function(){
$(this).addClass("over");
},function(){
$(this).removeClass("over");
})
})
</script>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<ul class="lb_news">
<li><span class="l"><a></a></span><span class="r">2011-06-09</span></li>
......
</ul><div class=block12></div>
<div class="dede_pages1">
<div class="gglb8"><script>list172_article_08();</script></div>
<ul class="pagelist">
<li class="thisclass">1</li>
<li><a href='list_12.html'>2</a></li>
<li><a href='list_13.html'>3</a></li>
<li><a href='list_12.html'>下一页</a></li>
</ul>
<div class="gglb9"><script>list172_article_09();</script></div>
</div>
<div class="block10"></div>
</div> 展开
展开全部
{dede:list pagesize='60' }
<li> <a href="[field:arcurl/]" target="_blank">[field:title /]</a></li>
[field:global name=autoindex runphp="yes"](@me == 5)?@me=" <li></li>":@me="";[/field:global]
{/dede:list}
以下代码意思是鼠标放到每条<li>内容上,就给<li>增加一个css样式over,鼠标移开就去掉这个css。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询