是我代码有问题,还是加载不出来呢
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.pic li{
list-style: none;
}
.ad {
height: 243px;
margin-top: 5px;
overflow: hidden;
}
</style>
<script type="text/javascript" src="js\jquery-1.10.0.js"></script>
<script type="text/javascript" src="js\myfocus-2.0.1.min.js"></script>
<script type="text/javascript" src="js\mf-pattern\mF_classicHB.js"></script>
<link rel="stylesheet" type="text/css" href="js\mf-pattern\mF_classicHB.css">
<script type="text/javascript">
myFocus.set({
id:'boxID'//焦点图盒子ID
});
</script>
</head>
<body>
<div class="ad">
<div id="boxID"><!--焦点图盒子-->
<div class="pic"><!--内容列表(li数目可随意增减)-->
<ul>
<li><a href="#"><img src="image/ad2.jpg" thumb="" alt="" text="详细描述2" /></a></li>
<li><a href="#"><img src="image/ad3.jpg" thumb="" alt="" text="详细描述3" /></a></li>
<li><a href="#"><img src="image/ad.jpg" thumb="" alt="" text="详细描述4" /></a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
你把<div id="boxID">里的id属性放在<div class="ad">里,就是<div class="ad" id="boxID">
同问,我也是这个问题唉
只能显示这个