-
JS获取当前时间日期,年月日与星期X
[PHP教程] 2018-08-17 22:23:35 163人阅读
烈火网(LieHuo.Net)教程 今天下午有朋友在群中咨询烈火网关于JS获取当前时间日期的问题,下面就把一种最简单的一种用JS获取系统当前日期、时间以及星期几的代码分享给大家。 使用方法:直接复制代码粘贴到你的网页中...[详细]
-
网页上的字体缩放,放大缩小网页字体代码
[PHP教程] 2018-08-16 21:18:15 169人阅读
网页上的字体缩放,放大缩小网页字体代码,与上一篇特效代码差不多,适合改变网页的字号,并提供大、中、斜三种写号供浏览者选择,提升网页用户体验。实现此功能的方法和代码比较多,大家根据自己的需要选择吧,当然...[详细]
-
jQeury文字动态向下滚动,类似新浪微博代码
[PHP教程] 2018-08-16 21:16:36 87人阅读
jQeury文字动态向下滚动,类似 新浪微博 的效果,以前烈火网曾经发布过《仿新浪微博首页、淡入淡出文字滚动效果》,今天的效果与以前的差不多,最大的不同之处就是本例使用了 jQuery 框架,请注意观察他们的性能和效...[详细]
-
JavaScript标签云Tag Cloud,仿QQ好友印象效果
[PHP教程] 2018-08-16 21:15:09 141人阅读
Java Script标签云Tag Cloud,仿QQ好友印象效果,此类效果也可以叫做云标签,实现思路: 1.先给元素随机出一个左上顶点的位置; 2.然后根据元素的框高,用一维数组判断元素所在的二维坐标有没有被标记arr=1; 3.如果有...[详细]
-
兼容IE和FireFox的纵向滚动代码,响应鼠标停止
[PHP教程] 2018-08-16 21:14:15 144人阅读
兼容IE和FireFox的纵向滚动代码,响应鼠标,当鼠标指向滚动区域时停止滚动。使用时注意把滚动内容放在div id=scrollmessage里面,复制此代码到空白html文档中,在firefox/ie/opear上测试!本代码支持滚动速度调节, ...[详细]
-
多行无缝间歇的滚动效果,支持不固定行高
[PHP教程] 2018-08-16 21:13:24 54人阅读
多行无缝间歇的滚动效果,支持不固定行高。控制一段文字在一定区域内滚动。加载完后运行代码,nli_con是外框的id,a是间隔滚动的时间,b是滚动距离递增的数值,不需要固定一个行高,文档结构不一定非要像我这样。小...[详细]
-
字体大中小代码,网页上字号缩放效果
[PHP教程] 2018-08-16 21:11:19 93人阅读
字体大中小代码,网页上字号缩放效果,关于此类的教程烈火网也曾经介绍过几个,有的童鞋可能会有印象,例如:《字体大、中、小字号选择,实时调整网页字体大...[详细]
-
jQuery仿微博文字滚动,带缓冲的向下滚动效果
[PHP教程] 2018-08-16 21:10:41 152人阅读
jQuery 仿 新浪微博 的文字滚动代码,与以往的《jQeury文字动态向下滚动,类似新浪微博代码》有些不同,这次是文字向下滚动的效果,引用了外部jquery文件,初次运行可能报错,进去后刷新一下就行了。鼠标放移入文字...[详细]
-
循环向上滚动的单行文字代码,适于网站公告
[PHP教程] 2018-08-16 21:10:11 129人阅读
纯 Java script实现的循环向上滚动的文字公告代码,默认是一行文字的行高,这个大家自己根据需要调整吧,滚动效果修饰的不太好,时间关系,请大家自己美化吧,核心的功能已经完成,而且在多个浏览器中已测试,兼容性...[详细]
-
两行间歇向上滚动的新闻公告文字JS代码
[PHP教程] 2018-08-16 21:09:38 151人阅读
两行间歇向上滚动的新闻公告文字JS代码,适于新闻列表文字滚动,循环向上滚动的文字公告效果,收集整理出来的JS文字滚动代码,网上很多图片滚动和文字连续滚动的代码都不兼容很多浏览器,今天给大家分享出来的滚动代...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]