<link href="css_2011/global1.3.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery_2011/jquery-1.3.1.js"></script>
第一个是css的引用方法,下面的是js的引用方法
images就是图片呀,在网页中有专门插入图片的代码:<img src=upload_2011/fudong_01.gif class=img_02 />src后面是你图片的路径,写对就可以了
<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=utf-8" />
<title>纯css实现图片相册幻灯片切换</title>
<style type="text/css">
*{ margin:0 padding:0 list-style:none}
.lanrenzhijia{ width:180px height:162px margin:100px auto}
.lanrenzhijia dl { position:relative width:160px height:142px border:10px solid #EFEFDA }
.lanrenzhijia dd { width:160px height:120pxoverflow:hidden}
.lanrenzhijia img { border:2px solid #000 }
.lanrenzhijia dt { position:absolute right:0px bottom:0pxwidth:160pxheight:22px background:#FBFBEA }
.lanrenzhijia a {display:blockfloat:rightmargin:2pxwidth:18px height:18pxtext-align:center color:#fff text-decoration:none background:#666filter:alpha(opacity=70) opacity:.7}
.lanrenzhijia a:hover {background:#000}
</style>
</head>
<body>
<div class="lanrenzhijia">
<dl>
<dt>
<a href="#indexa6">6</a><a href="#indexa5">5</a><a href="#indexa4">4</a><a href="#indexa3">3</a><a href="#indexa2">2</a><a href="#indexa1">1</a>
</dt>
<dd>
<img id="indexa1" name="indexa1" src="images/图片1.jpg" />
<img id="indexa2" name="indexa2" src="images/图片2.jpg" />
<img id="indexa3" name="indexa3" src="images/图片3.jpg" />
<img id="indexa4" name="indexa4" src="images/图片4.jpg" />
<img id="indexa5" name="indexa5" src="images/图片5.jpg" />
<img id="indexa6" name="indexa6" src="images/图片6.jpg" />
</dd>
</dl>
</div>
</body>
</html>
参考资料:懒人之家