jquery 页面循环倒计时
来源:互联网 发布:oracle not like 优化 编辑:程序博客网 时间:2024/06/07 02:50
<html> <head><script type="text/javascript" src="jquery.js"></script><script type="text/javascript"> function countDown(secs){ var $n1 = $("#n1");// 输出n1的当前坐标var coord = $n1.offset(); var $jumpTo =$("#jumpTo");//alert(jumpTo); $jumpTo.text(secs); if(--secs>0){ setTimeout("countDown("+secs+")",1000); } else{ var offset = $n1.offset( {top: coord.top, left: coord.left+30}); setTimeout("countDown("+3+")",1000); } } </script> </head> <body> <span id="jumpTo">3</span> <p onclick="countDown(3)">test</p><p id="n1" style="width:300px; height: 100px; background-color: red;">111</p> </body></html>
0 0
- jquery 页面循环倒计时
- jquery 页面多个倒计时
- jquery倒计时,ASP.NET页面倒计时,注册按钮倒计时
- JQuery实现页面倒计时并刷新
- jquery实现页面多个不同倒计时
- 页面倒计时
- 页面倒计时
- 页面倒计时
- 页面倒计时
- 倒计时页面
- jquery 倒计时
- Jquery倒计时
- jquery 倒计时
- jquery倒计时
- Jquery倒计时
- jquery 倒计时
- JQuery倒计时
- jQuery-倒计时
- UML活动图
- 哈夫曼编码/译码器
- [参考+理解]hibernate的查询和性能调优
- 面板Ext.Panel使用
- C++中运算符重载
- jquery 页面循环倒计时
- Spring-web源码解析之HttpRequestHandler
- 虚拟机下centos 6.4安装超级详细图解教程(64位)
- 指针用于将函数中形参的值传递给实参
- 【设计模式】单例模式
- 基于surf特征点的图像局部图像抽取
- 破解myeclipse6.5
- MySQL 5.6 root密码丢失,使用mysqld --skip-grant-tables
- 汽车牌照的排序与查询