网页设计中,图片轮换,IE中功能失效,JS代码,请高手看一下有何问题
别的浏览器都正常,只有IE不正常@CHARSET"UTF-8";ol,ul{list-style:none;}.flexslider{width:100%;height:...
别的浏览器都正常,只有IE不正常
@CHARSET "UTF-8";ol,ul{list-style:none;}.flexslider{width:100%;height:100%;overflow:hidden;}.flexslider .slides > li{display:none;}.flexslider .slides img{max-width:100%;display:block;}.slides:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}html[xmlns] .slides{display:block;}* html .slides{height:1%;}.no-js .slides > li:first-child{display:block;}.flexslider{position:relative;zoom:1;}.flexslider .slides{zoom:1;}.flexslider .slides > li{position:relative;}.flex-caption{background:none;-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);zoom:1;}.flex-caption{width:96%;padding:2%;position:absolute;left:0;bottom:0;background:rgba(0,0,0,.3);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3);font-size:14px;line-height:18px;}.flex-direction-nav{height:0;overflow:hidden;}.flex-direction-nav li a{display:none;width:47px;height:80px;position:absolute;top:50%;margin-top:-40px;cursor:pointer;text-indent:-9999px;}.flex-direction-nav li a.next{right:0;background:url("img/bg_direction_nav.png") no-repeat scroll -47px 0 transparent;}.flex-direction-nav li a.next:hover{}.flex-direction-nav li a.next:active{background:url("img/bg_direction_nav.png") no-repeat scroll -47px -80px transparent;}.flex-direction-nav li a.prev{left:0;background:url("img/bg_direction_nav.png") no-repeat scroll 0 0 transparent;}.flex-direction-nav li a.prev:hover{}.flex-direction-nav li a.prev:active{background:url("img/bg_direction_nav.png") no-repeat scroll 0 -80px transparent;}.flex-direction-nav li a.disabled{opacity:.3;filter:alpha(opacity=30);cursor:default;}.flex-control-nav{position:absolute;bottom:0;right:0;}.flex-control-nav li{display:inline-block;zoom:1;*display:inline;margin-right:10px;margin-bottom:12px;}.flex-control-nav li a{display:block;width:10px;height:10px;background:url("img/bg_control_nav.png") no-repeat scroll 0 0 transparent;_background:url("img/bg_control_nav-0.png") no-repeat scroll 0 0 transparent;cursor:pointer;text-indent:-9999px;}.flex-control-nav li a:hover{background-position:0 -10px;_background:url("img/bg_control_nav-1.png") no-repeat scroll 0 0 transparent;}.flex-control-nav li a.active{background-position:0 -20px;_background:url("img/bg_control_nav-2.png") no-repeat scroll 0 0 transparent;cursor:default;} 展开
@CHARSET "UTF-8";ol,ul{list-style:none;}.flexslider{width:100%;height:100%;overflow:hidden;}.flexslider .slides > li{display:none;}.flexslider .slides img{max-width:100%;display:block;}.slides:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}html[xmlns] .slides{display:block;}* html .slides{height:1%;}.no-js .slides > li:first-child{display:block;}.flexslider{position:relative;zoom:1;}.flexslider .slides{zoom:1;}.flexslider .slides > li{position:relative;}.flex-caption{background:none;-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);zoom:1;}.flex-caption{width:96%;padding:2%;position:absolute;left:0;bottom:0;background:rgba(0,0,0,.3);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3);font-size:14px;line-height:18px;}.flex-direction-nav{height:0;overflow:hidden;}.flex-direction-nav li a{display:none;width:47px;height:80px;position:absolute;top:50%;margin-top:-40px;cursor:pointer;text-indent:-9999px;}.flex-direction-nav li a.next{right:0;background:url("img/bg_direction_nav.png") no-repeat scroll -47px 0 transparent;}.flex-direction-nav li a.next:hover{}.flex-direction-nav li a.next:active{background:url("img/bg_direction_nav.png") no-repeat scroll -47px -80px transparent;}.flex-direction-nav li a.prev{left:0;background:url("img/bg_direction_nav.png") no-repeat scroll 0 0 transparent;}.flex-direction-nav li a.prev:hover{}.flex-direction-nav li a.prev:active{background:url("img/bg_direction_nav.png") no-repeat scroll 0 -80px transparent;}.flex-direction-nav li a.disabled{opacity:.3;filter:alpha(opacity=30);cursor:default;}.flex-control-nav{position:absolute;bottom:0;right:0;}.flex-control-nav li{display:inline-block;zoom:1;*display:inline;margin-right:10px;margin-bottom:12px;}.flex-control-nav li a{display:block;width:10px;height:10px;background:url("img/bg_control_nav.png") no-repeat scroll 0 0 transparent;_background:url("img/bg_control_nav-0.png") no-repeat scroll 0 0 transparent;cursor:pointer;text-indent:-9999px;}.flex-control-nav li a:hover{background-position:0 -10px;_background:url("img/bg_control_nav-1.png") no-repeat scroll 0 0 transparent;}.flex-control-nav li a.active{background-position:0 -20px;_background:url("img/bg_control_nav-2.png") no-repeat scroll 0 0 transparent;cursor:default;} 展开
3个回答
展开全部
请贴上完整的代码,帮你调调.
更多追问追答
追问
您好,我是在网上下载的图片轮换代码,加入网页后,在别的浏览器测试都正常,唯独IE不正常。
这个网站的这个效果:
http://www.16sucai.com/2013/11/29956.html
谢谢
追答
ie 78910 都正常啊,你是在ie几下,发现的什么问题.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询