-
获取当前时间并显示上午、下午的js代码
[PHP教程] 2018-08-15 23:32:39 129人阅读
获取当前时间并显示上午、下午的js代码,一个比较简单的客户端代码,你可以修改系统时间查看效果,这是与服务端程序(PHP、ASP等)不能比的,唯一不足的是只能显示上午和下午,而不能显示凌晨、早上、傍晚、晚上和深...[详细]
-
JavaScript时间日期特效:日历生成器代码
[PHP教程] 2018-08-15 23:31:38 56人阅读
一个很久以前写的 Java Script时间日期特效:日历生成器代码,尽管作者已经无从获知了,烈火学院还是要表示感谢,该代码中写了2000年-2008年的时间段,大家可以根据其代码进行深加工一下,这样可以练习自己的JS编写...[详细]
-
网页计时器代码,显示你的网站已经运行xxx天了
[PHP教程] 2018-08-15 23:30:54 94人阅读
又一款关于时间日期的特效代码,显示你的网站已经运行xxx天了!其实代码很简单,只要我们预先设定建站日期,系统将自动计算时间并显示在网页上,适合用在个人博客和主页上,大一点的网站就不建议用了。 演示: HTMLH...[详细]
-
网页小挂钟特效,js结合图片实现的牛X代码
[PHP教程] 2018-08-15 23:30:26 181人阅读
Java Script写的小挂钟特效,乍一看到这个小时钟,感觉作者太牛X了,就像Flash一样,用了几张修饰图片,只需控制钟的指针的转动,钟面是一幅图,钟的样式可以任意替换。但是想在页面上改变钟的位置,比较麻烦。因为...[详细]
-
JavaScript 电子表风格的数字时间显示效果
[PHP教程] 2018-08-15 23:29:53 97人阅读
Java Script 电子表风格的数字时间显示效果!一个JavaScript时间显示,是不是很有点电子表的味道?实现思路不复杂,把数字做成一幅幅的小图片,然后让Js去调用,就能达到这个效果啦发挥你的聪明才智,想一想,它还可...[详细]
-
DatePicker 一个比较简单的JS日期选择器
[PHP教程] 2018-08-15 23:29:26 153人阅读
DatePicker 一个比较简单的JS日期选择器,这是作者给自己写的东西的自称,其实要我觉得是比较简洁,至少说风格不复杂,简约的东西还是挺让人喜欢的,必竟复杂会带来一系列繁琐问题。 演示: htmlheadmeta http-equiv...[详细]
-
IE浏览器状态栏显示当前的日期/时间代码
[PHP教程] 2018-08-15 23:28:52 130人阅读
让 IE浏览器 的状态栏显示出当前的日期和时间,单击按钮,即可显示此功能。 小提示:该功能在低版本的IE浏览器下可以显示、例如IE6,但是在 IE8 上就不显示了,由于IE8的安全机制较高,因此无法显示。 示例代码: ht...[详细]
-
jquery 模拟出的 LCD 时钟效果
[PHP教程] 2018-08-15 23:27:50 125人阅读
jquery 模拟出的LCD 时钟效果,貌似兼容性有点问题,如果不能显示效果,多试几个浏览器,烈火小编在 Chrome 下测试通过。 为解决一些网页特效运行后不能显示效果(例如: jQuery 则需要刷新)问题,烈火特别新增网页...[详细]
-
JS日历面板,自定义日期时间,月份、年份
[PHP教程] 2018-08-15 23:23:15 95人阅读
基于 Java Script的日历面板,可以自定义日期时间,月份、年份等。作者:淡新举。代码中可以学到一些实用的小知识,比如如何根据年份返回每月天数、如何为为单元格注册事件、如何设定当前版面、如何根据年月加载当前...[详细]
-
JS日期选择器,JavaScript Calendar,JS日历插
[PHP教程] 2018-08-15 23:22:20 94人阅读
Java Script Calendar,JS日期选择器,JS日历插件,拿过来就可以用,很简单。 //实例化时第一个参数是input的name;第二个参数是value,设为today就是当天。 定义UncCalendar对象的属性并赋默认值。 //inputValue属性...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]