敲完第一部分next不移动图片

来源:-

qq_菇冫擾_0

2016-12-04 21:37

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>图片焦点轮播</title>

<link rel="stylesheet" type="text/css" href="gundong.css">

<script type="text/javascript" src="gundong.js"></script>

</head>

<body>

<div id="container">

<div id="list" style="left:-600px;">

<img src="images/tupian5.png" width="600px"height="300px"alt=""/>

<img src="images/tupian1.png" width="600px"height="300px"alt=""/>

<img src="images/tupian2.png" width="600px"height="300px"alt=""/>

<img src="images/tupian3.png" width="600px"height="300px"alt=""/>

<img src="images/tupian4.png" width="600px"height="300px"alt=""/>

<img src="images/tupian5.png" width="600px"height="300px"alt=""/>

<img src="images/tupian1.png" width="600px"height="300px"alt=""/>

</div>

<div id="buttons">

<span index="1"></span>

<span index="2" ></span>

<span index="3" ></span>

<span index="4" ></span>

<span index="5" ></span>

</div>

<a href="" id="prev">&lt;</a>

<a href="" id="next">&gt;</a>

</div>

</body>

</html>


写回答 关注

1回答

  • rainy_li3676598
    2016-12-06 16:13:35
    1. href="javascript:;"  里面需要添加 javascript:;

    2. 你和JS代码没有粘上来, 无法判断有没有其它问题

焦点图轮播特效

通过本教程学习您将能掌握非常实用的焦点图轮播特效的制作过程

65234 学习 · 611 问题

查看课程

相似问题