the pages or tab numbers less than actual pages错误修复

前几天给朋友网站换了一个滚动效果,使用Marquee插件来实现效果的。感觉很不错哇;可在本地测试的时候Marquee并没有报错the [jingdongbox] pages or tab numbers less than actual pages 放到线上的时候不管怎么设置都是错误。网上的也没有检索到能解决的答案;最后仔细看了官方例子发现他在行内元素中添加了宽高属性;新一也试了一下还真管用啊。

<style type="text/css">
#JINGDONGNumID{ position:absolute; bottom:5px; right:5px;}
#JINGDONGNumID li{list-style:none;float:left;width:18px;height:16px;FILTER:alpha(opacity=80);opacity:0.8;border:1px solid #D00000;background-color:#FFFFFF;color:#D00000;text-align:center;cursor:pointer;margin-right:4px;padding-top:2px;overflow:hidden;}
#JINGDONGNumID li:hover,#JINGDONGNumID li.active{border:1px solid #D00000;background-color:#FF0000;color:#FFFFFF;width:22px;height:18px;font-weight:bold;font-size:13px;}
</style>
<div style="overflow:hidden;width:760px;height:120px;position:relative;clear:both;border:1px solid #000000;background-color:#ffffff;">
<div id="JINGDONGBox">
<ul id="JINGDONGContentID">
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_1.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_2.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_3.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_4.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_5.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_6.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_7.jpg" width="760" height="120"/></a></li>
	<li><a href="javascript:void(0)"><img border="0" src="images/760X120_8.jpg" width="760" height="120"/></a></li>
</ul>
</div>
<ul id="JINGDONGNumID">
	<li class="">1</li>
	<li class="">2</li>
	<li class="">3</li>
	<li class="">4</li>
	<li class="">5</li>
	<li class="">6</li>
	<li class="">7</li>
	<li class="">8</li>
</ul>
</div>
<script type="text/javascript">
new Marquee(
{
	MSClassID : "JINGDONGBox",
	ContentID : "JINGDONGContentID",
	TabID	  : "JINGDONGNumID",
	Direction : 0,
	Step	  : 0.3,
	Width	  : 760,
	Height	  : 120,
	Timer	  : 20,
	DelayTime : 3000,
	WaitTime  : 0,
	ScrollStep: 120,
	SwitchType: 0,
	AutoStart : 1
})

</script>

转载请注明来源:新一 » the pages or tab numbers less than actual pages错误修复

赞 (0) 评论 (0) 分享 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址