脚 本 之 家 www.jb51.net
页面导航:  不限条件-->秒数
本地搜索:
[html]<html><head><title></title><scriptlanguage='javascript'type='text/javascript'>varsecs=5;//倒计时的秒数varURL;functionLoad(url){URL=url;for(vari=secs;i>=0;i--){window.setTimeout('doUpdate('+i+')',(secs-i)*1000);}}functiondoUpdate(num){document.getElementById('ShowDiv'...
http://www.jb51.net//article/15993.htm
如果你想根据时间来判断某一时间值(用秒数表示)是否在今天的范围之内。下面这个函数,将帮你轻而易举的判断。函数源代码:---------------------------------------------说明:若$varTime在今天的范围内,返回ture,否则返回false.functionbTodayToTomorrow($varTime){    $nowYear=date("Y");    $nowMonth=date("n");   ...
http://www.jb51.net//article/1944.htm
共有:2/10,当前1/1页  [首页] [上一页] 1 [下一页] [尾页] 转到: