这种的图片翻页效果怎么做的 有代码的给份
比如我页面上有个图片 点图片的右半部分 是下一张 左半部分是上一张 就和其他大网站的图片浏览方式一样的 那种
有代码的给份 怎么搜索啊 找不到
程序代码:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.">
<HTML>
<HEAD>
<TITLE></TITLE>
<style>
html,body{
background:#e0e0e0;
}
.imgBox img{
border:1px dashed #666;
}
.imgBox{
position: relative;
float:left;
}
.imgBox div{
position:absolute;
left:0px;
top:0px;
width:50%;
height:98%;
background: #fff;
opacity:0.0;
filter:alpha(opacity=0);
}
.imgBox .left{
cursor: url('http://cnc.qzs.'),default;
}
.imgBox .right{
left:50%;
cursor: url('http://cnc.qzs.'),default;
}
</style>
</HEAD>
<BODY>
<div class="imgBox">
<img src="http://www."/>
<div class="left" onclick="alert('left');"> </div>
<div class="right" onclick="alert('right');"> </div>
</div>
</BODY>
</HTML>