<li><a href="#">
<img src="Wife1.jpg" alt="img" title="img" /></a></li>
<li><a href="#">
<img src="Wife2.jpg" alt="img" title="img" /></a></li>
<li><a href="#">
<img src="Wife3.jpg" alt="img" title="img" /></a></li>
</ul>
</div>
<div class="buttom">
<a href="#">1</a><a href="#">2</a><a href="#">3</a>
</div>
</div>
</body>
</html>
javascript jquery
------解决方案--------------------<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>幻灯片切换</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
li,ul { list-style: none;margin: 0; padding: 0; }
.frame { width: 280px; height: 280px; position: relative; }
.iframe { overflow:hidden;width: 280px; height: 280px; }
.iframe ul li { float: left;width:280px; }
.button { position: absolute; bottom: 15px; right: 15px; z-index: 300; }
.button li {float: left;cursor: pointer; width: 17px; height: 17px; line-height: 17px; text-align: center; margin-right: 5px; border-radius: 7px; color: #fff; background: #000; }
.button .on { color: #000; background: #fff; }
</style>
<script type="text/javascript">
$(document).ready(function () {
slide(".frame");
});