jquery的幻灯片怎么制作啊,要图片自动播放的???急急急急急急
jquery的幻灯片怎么制作啊,要图片自动播放的???急急急急急急
jquery的幻灯片怎么制作啊,要图片自动播放的???急急急急急急
jquery的幻灯片怎么制作啊,要图片自动播放的???急急急急急急
jquery的幻灯片怎么制作啊,要图片自动播放的???急急急急急急
解决方案 »
- 如何让ckeditor 初始化为全屏显示
- 裸体跪求 如何阻止 链接 事件
- 怎么捕获BeforeNavigate和DocumentComplete获取打开页面用的时间?
- iframe刷新时曾在iframe中替父页面添加的元素的事件会丢失!
- 求javascript的提交表单或打开大数据量页面时首先出现的类似“正在处理”的缓冲提示框的代码
- 死循环!怎么办??(关于onblur)
- 简单的一条语句,大家帮我看看这条语句错在哪里了,哭了!!!!!!! 没有分了
- 如何判断ie是否支持弹出菜单(cookie等)
- 文本框获取下拉框的值以后,怎么改变啊,请教
- ****进来看看这个网页的问题****
- 这段代码是类吗?
- new FormData()
<head>
<style>
div{
cursor: pointer;
font-size:10pt;
}
.pb{
width:300px;/*单个图片的宽(和显示区域相同)*/
height:300px;/*单个图片的高(和显示区域相同)*/
}
#plist{
position:relative;
top:-29px;
}
#pshow{
width:300px;/*显示区域的宽度*/
height:300px;/*显示区域的高度*/
overflow: hidden;
position:absolute;
top:20px;
left:20px;
}
</style>
<script src="jquery-1.9.1.js" type="text/javascript"></script>
<script>
var i=1;
function pchange(obj){
var imgtop=((0-(obj-1))*300-29)+"px";
$("#plist").animate({
top:imgtop
},"slow");
i=obj++;
if(i>4){
i=1;
}
}
function timechange(){
pchange(i);
i++;
if(i>4){
i=1;
}
setTimeout('timechange()',3000);
}
</script>
</head>
<body onload="timechange()">
<div id="pshow">
<div style="display:table;position:relative;left:150px;top:260px;z-index:99;">
<div style="display:table-cell;width:25px;height:20px;background:#EEEE00;text-align:center;" onmouseover="pchange(1)">1</div>
<div style="display:table-cell;width:10px;height:20px;"></div>
<div style="display:table-cell;width:25px;height:20px;background:#EEEE00;text-align:center;" onmouseover="pchange(2)">2</div>
<div style="display:table-cell;width:10px;height:20px;"></div>
<div style="display:table-cell;width:25px;height:20px;background:#EEEE00;text-align:center;" onmouseover="pchange(3)">3</div>
<div style="display:table-cell;width:10px;height:20px;"></div>
<div style="display:table-cell;width:25px;height:20px;background:#EEEE00;text-align:center;" onmouseover="pchange(4)">4</div>
</div>
<div id="plist">
<div class="pb" style="background:green;">
</div>
<div class="pb" style="background:red;">
</div>
<div class="pb" style="background:blue;">
</div>
<div class="pb" style="background:yellow;">
</div>
</div>
</div>
</body>
</html>