javascript 求助,js写的一个图片效果,加载太慢,图片都往下拖。该如何解决?
这是一个图片轮播效果,由于加载太慢就成为了这样!<ulid="adlist"><li><atarget="_blank"href="/loudi/"><imgsrc="/...
这是一个图片轮播效果,由于加载太慢就成为了这样!
<ul id="adlist"><li><a target="_blank"href="/loudi/"><img src="/en/up_files/image/产品页焦点图/col-pic5.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/Product/"><img src="/en/up_files/image/产品页焦点图/col-pic4.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/yitiji/"><img src="/en/up_files/image/产品页焦点图/col-pic3.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/pingjie/"><img src="/en/up_files/image/产品页焦点图/col-pic2.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/jian/"><img src="/en/up_files/image/产品页焦点图/col-pic1.jpg"width="760"height="225"/></a></li></ul>
<script language="javascript"type="text/javascript">$(document).ready(function(){$("ul#adlist").parent().slideView({isAutoShow:1,showTime:parseInt(5000,10)});$('#gallery a').lightBox();$("#meumid").mouseover(function(){$("#meumid").hide();$("#contentid").show()});$("li.pclass").click(function(){var pname=$(this).attr("name");var hassub=false;$("li.subclass").each(function(){if($(this).attr("name")==pname){$(this).show();hassub=true}});if(hassub){$("li.subclass").each(function(){if($(this).attr("name")!=pname){$(this).hide()}})}})});</script> 展开
<ul id="adlist"><li><a target="_blank"href="/loudi/"><img src="/en/up_files/image/产品页焦点图/col-pic5.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/Product/"><img src="/en/up_files/image/产品页焦点图/col-pic4.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/yitiji/"><img src="/en/up_files/image/产品页焦点图/col-pic3.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/pingjie/"><img src="/en/up_files/image/产品页焦点图/col-pic2.jpg"width="760"height="225"/></a></li><li><a target="_blank"href="/jian/"><img src="/en/up_files/image/产品页焦点图/col-pic1.jpg"width="760"height="225"/></a></li></ul>
<script language="javascript"type="text/javascript">$(document).ready(function(){$("ul#adlist").parent().slideView({isAutoShow:1,showTime:parseInt(5000,10)});$('#gallery a').lightBox();$("#meumid").mouseover(function(){$("#meumid").hide();$("#contentid").show()});$("li.pclass").click(function(){var pname=$(this).attr("name");var hassub=false;$("li.subclass").each(function(){if($(this).attr("name")==pname){$(this).show();hassub=true}});if(hassub){$("li.subclass").each(function(){if($(this).attr("name")!=pname){$(this).hide()}})}})});</script> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询