鼠标滑动可以参考官方自带的模板
比如考试是c01,问答是c02,下载是c03那么对应的脚本里面也要保持一样,不能重复。
<!--鼠标滑动特效start-->
<SCRIPT type=text/javascript>
jQuery(document).ready(function(){
var SDmodel = new scrollDoor();
SDmodel.sd(["m01","m02","m03"],["c01","c02","c03"],"sd01","sd02");
})
</SCRIPT>
<!--鼠标滑动特效end-->
<!--鼠标切换-->
<div class="scrollFrame">
<ul class="scrollUl">
<li class="sd01" id=m01>活跃之星</li>
<li class="sd02" id=m02>用户动态</li>
<li class="sd02" id=m03>新鲜事</li>
</ul>
<div class="bor03 cont">
<div class="display" id=c01>
<ul class="hyuser">
{=GetTopUser(6,)}
</ul>
</div>
<div class="hidden" id=c02 >
<ul class="dtuser">
<MARQUEE id=this scrollAmount=1 scrollDelay=77 direction=up width=240 height=206> {=GetUserDynamic(8)}
</MARQUEE>
</ul>
</div>
<div class="hidden" id=c03 >
<ul class="syfresh">{LB_首页新鲜事}</ul>
</div>
</div>
</div>
<!--鼠标切换-->