能实现下面自动滑动 上面也自动变 点击下面的上面的也变 但是点击后就不自动变了 还有下面12张图片到头就没了 能不能做循环呢?
下面代码:
<style>a:link {color: #000; text-decoration: none}
a:visited {color: #000; text-decoration: none}
a:hover {color: #BE8A01; text-decoration: underline}
a:active {color: #000; text-decoration: underline}
body {margin:0; background: #fff; padding:0px; font:14px Verdana,Arial;}
#slideshow {list-style:none; color:#e1e1e1}
#slideshow span {display:none}
#wrapper {width:590px; margin:50px auto; display:none}
#wrapper * {margin:0; padding:0}
#fullsize {position:relative; width:330px; height:335px; padding:2px; border:0; background: #e1e1e1}
#information {position:absolute; bottom:0; width:330px; height:0; background:#e1e1e1; color:#fff; overflow:hidden; z-index:200; opacity:.7; filter:alpha(opacity=70)}
#information h3 {padding:4px 8px 3px; font-size:14px}
#information p {padding:0 8px 8px}
#image {width:330px}
#image img {position:absolute; z-index:25; width:auto}
.imgnav {position:absolute; width:25%; height:306px; cursor:pointer; z-index:150}
#imgpre {left:0; background:url(images/left.gif) left center no-repeat}
#imgnex {right:0; background:url(images/right.gif) right center no-repeat}
#imglink {position:absolute; height:306px; width:100%; z-index:100; opacity:.4; filter:alpha(opacity=40)}
.linkhover {background:url(images/link.gif) center center no-repeat}
#thumbnails {margin-top:30px;}
#slideleft {float:left; width:12px; height:81px; background:url(images/scroll-left.gif) center center no-repeat; background-color:#ccc;}
#slideleft:hover {background-color:#ccc;}
#slideright {float:right; width:12px; height:81px; background:#ccc url(images/scroll-right.gif) center center no-repeat}
#slideright:hover {background-color:#333;}
#slidearea {float:left; position:relative; width:553px; margin-left:5px; height:81px; overflow:hidden;}
#slider {position:absolute; left:0; height:81px;}
#slider img {cursor:pointer; border:1px solid #666; padding:2px;}
</style>
<body>
<div align="center"><div id="head"></div>
<div id="beijing">
<ul id="slideshow">
<li><h3></h3><span>images/名片/tu-13.jpg</span><p></p><img src="images/名片/tu-13.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-14.jpg</span><p></p><img src="images/名片/tu-14.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-15.jpg</span><p></p><img src="images/名片/tu-15.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-16.jpg</span><p></p><img src="images/名片/tu-16.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-17.jpg</span><p></p><img src="images/名片/tu-17.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-18.jpg</span><p></p><img src="images/名片/tu-18.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-19.jpg</span><p></p><img src="images/名片/tu-19.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-20.jpg</span><p></p><img src="images/名片/tu-20.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-21.jpg</span><p></p><img src="images/名片/tu-21.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-22.jpg</span><p></p><img src="images/名片/tu-22.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-23.jpg</span><p></p><img src="images/名片/tu-23.jpg" height="100" /></li>
<li><h3></h3><span>images/名片/tu-24.jpg</span><p></p><img src="images/名片/tu-24.jpg" height="100" /></li>
</ul>
<div id="wrapper">
<table width="394" height="393" align="center" cellpadding="0" cellspacing="0" background="images/cardbg.jpg">
<tr><td style="padding-left:31px">
<div id="fullsize">
<div id="imgprev" class="imgnav" title="Previous Image"></div>
<div id="imglink"></div>
<div id="imgnext" class="imgnav" title="Next Image"></div>
<div id="image"></div>
<div id="information">
<h3 align="center"></h3>
<p align="center"></p>
</div>
</div>
</td></tr></table>
<div id="thumbnails">
<div id="slideleft" title="Slide Left"></div>
<div id="slidearea">
<div id="slider"></div>
</div>
<div id="slideright" title="Slide Right"></div>
</div>
<div id="daohang"><a href="index.asp">首 页</a> <a href="kuaiyinmingpian.asp">快印名片</a> <a href="jiaoyinmingpian.asp">胶印名片</a> <a href="zhengkayinshua.asp">证卡印刷</a> <a href="chuangyisheji.asp">创意设计</a> <a href="lianxiwomen.asp">联系我们</a></div>
<div id="foot">
<span class="font1">A:</span>北京海淀区知春路东达332 <span class="font1">H:</span>www.Pcard365.com <span class="font1">E:</span>design@126.com <span class="font1">T:</span>010-82350475
</div>
</div>
<script type="text/javascript" src="compressed.js"></script>
<script type="text/javascript">
$('slideshow').style.display='none';
$('wrapper').style.display='block';
var slideshow=new TINY.slideshow("slideshow");
window.onload=function(){
slideshow.auto=true;
slideshow.speed=5;
slideshow.link="linkhover";
slideshow.info="information";
slideshow.thumbs="slider";
slideshow.left="slideleft";
slideshow.right="slideright";
slideshow.scrollSpeed=4;
slideshow.spacing=5;
slideshow.active="#fff";
slideshow.init("slideshow","image","imgprev","imgnext","imglink");
}
</script>
</div>
</div>
</body>