焦点图显示不了
不知道怎么回事 显示不了图片 只显示加载失败
不知道怎么回事 显示不了图片 只显示加载失败
2018-09-06
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>企业网站</title>
<link rel="stylesheet" href="css/index2.css" />
<script type="text/javascript" src="js/setHomeSetFav.js" charset="gb2312"></script>
<!--<script type="text/javascript" src="js/myfocus-2.0.1.min.js"></script>-->
<script type="text/javascript" src="js/mF_YSlider.js"></script>
<link rel="stylesheet" href="js/mF_YSlider.css" />
<script type="text/jscript">
myFocus.set({
id:'boxID'});
</script>
</head>
<body>
<div class="top">
<div class="top_content">
<ul>
<li><a href="#">设为首页</a></li>
<li><a href="#">加入收藏</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</div>
</div>
<div class="wrap">
<div class="logo">
<div class="logo_left">
<img src="img/logo.jpg" alt="慕课网"/></div>
<div class="logo_right">
<img src="img/tel.jpg" alt="服务"/> 服务热线:<span class="tel">123-456-7890</span>
</div>
</div>
<div class="nav">
<div class="nav_left"></div>
<div class="nav_mid">
<div class="nav_mid_left">
<ul>
<li><a href="#">首页</a></li>
<li><a href="#">关于慕课</a></li>
<li><a href="#">新闻动态</a></li>
<li><a href="#">课程中心</a></li>
<li><a href="#">在线课程</a></li>
<li><a href="#">人才招聘</a></li>
</ul>
</div>
<div class="nav_mid_right">
<form action="" method="post">
<input type="text" class="search_text"/>
</form>
</div>
</div>
<div class="nav_right"></div>
</div>
<div class="ad" id="boxID">
<div class="pic">
<!--<div class="loading"><img src="img/loading.gif" alt="图片加载中"/> </div>-->
<ul>
<li><img src="img/ad2.jpg"/></li>
<li><img src="img/ad3.jpg" /> </li>
<li><img src="img/ad4.jpg" /> </li>
</ul>
</div>
</div>
<div class="main">
<div class="news"></div>
<div class="course"></div>
<div class="sidebar"></div>
</div>
</div>
</body>
</html>
*{
margin: 0;
padding: 0;
font-size: 12px;
}
body{
background: #F5F5F5;
}
.top{
width: 100%;
height: 27px;
background-image: url(../img/top_bg.jpg);
}
.top_content{
width: 1000px;
margin: 0 auto;
}
.top_content li{
list-style-image: url(../img/li_bg.gif);
float: right;
width: 70px;
line-height: 27px;
}
.top_content a:link,.top_content a:visited{
color:grey;
text-decoration: none;
}
.top_content a:hover,.top_content a:active{
color: brown;
text-decoration: none;
}
.wrap{width: 1000px;margin: 0 auto;}
.logo{height: 80px;background: #FFFFFF;}
.logo_left{width: 200px;float: left;}
.logo_right{width: 300px;float: right;height: 27px;margin-top: 30px;color: #808080;}
.logo_right img{vertical-align: middle;}
.tel{font-size: 16px;font-family: "微软雅黑";color: brown;}
.nav{height: 40px;background: gray;width: 1000px;}
/*.nav_left{height: 40px;background-image: url(../img/nav_left.jpg);width: 10px;float: left;}
.nav_mid{height: 40px;background-image: url(../img/nav_bg.jpg);width: 980px;float: left;}
.nav_right{height: 40px;background-image: url(../img/nav_right.jpg);width: 10px;float: left;}*/
.nav_mid_left{width: 680px;}
.nav_mid_right{width: 300px;float: right;}
.nav_mid_left li{float: left;list-style-type: none;width:80px;line-height: 40px;}
.nav_mid_left li a:link,.nav_mid_left li a:visited{text-decoration: none;color: #FFFFFF;font-family: "微软雅黑";}
.nav_mid_left li a:hover,.nav_mid_left li a:active{text-decoration: none;color: #FFA500;font-family: "微软雅黑";}
.search_text{width:190px;height: 25px;margin-top:5px ;color: #808080;}
.ad{height: 310px; overflow: hidden;float: left;}
.main{height: 250px;background: #DEB887;}
.news{width: 340px;height: 250px;background: #DEB887;}
举报