-
jQuery 表格特效:控制单元格折叠、展开代码
[PHP教程] 2018-08-15 23:42:57 95人阅读
jQuery 控制表格的某行可以折叠展开,相信大家见到过这种功能,鼠标点击某单元格后,会看到单元格不见了,实际上是折叠(合拢)了,由于时间关系,作者并未进行美化,看上去粗糙一些,需要使用的朋友自己使用CSS美化一...[详细]
-
表格隔行换色,响应鼠标变色,jQuery版
[PHP教程] 2018-08-15 23:42:57 195人阅读
本效果调用了 jQuery 1.3库,表格隔行换色,鼠标放上就变色,用class=stripe来标识需要使用该效果的表格,除了研究换色外,还可以研究一下用thead定义表头的方法,用jQuery确实能事半功倍。 为解决一些网页特效运行...[详细]
-
Js 动态修改表格内容、对齐表格内的内容
[PHP教程] 2018-08-15 23:42:37 188人阅读
Js 动态修改表格内容、对齐表格内的内容,主要是控制表格的TableRow对象属性,使其左对齐、右对齐、向上对齐等,大家可以根据代码进行扩展,例如学习添加向下对齐等。 演示: htmlheadtitleTableRow对象的属性/title...[详细]
-
动态插入、添加删除表格行,JS特效代码
[PHP教程] 2018-08-15 23:41:20 114人阅读
动态插入、添加删除表格行,JS特效代码,在表格的指定位置插入多个新行,也可以删除添加的行,当然还可以在表格尾添加多个新行,也可以删除这些行。 演示: htmlheadtitleTable对象的方法/titlescript language= Jav...[详细]
-
JavaScript控制表格Table对象的属性
[PHP教程] 2018-08-15 23:39:24 117人阅读
Java Script控制Table对象的属性,用JS控制是否显示表格的边框,是否显示上边框、更改cellPadding、更改cellSpacing等表格属性的参数。 演示: htmlheadtitleTable对象的属性/title/headbodyh2Table对象的属性/h2hrt...[详细]
-
隔行变色,非常简单,使用jquery实现的
[PHP教程] 2018-08-15 23:38:57 137人阅读
几年前,如果你还使用Table建站,大家会 笑话 你没有使用DIV+CSS,现如今,大家现在都喜欢在自己的网站引入 jQuery 框架,如果你还没有使用的话,那你就OUT了,自从网站引入jQuery以后,我们可以很方便的添加一些令...[详细]
-
jQuery表格隔行换色,响应鼠标变换颜色代码
[PHP教程] 2018-08-15 23:38:12 170人阅读
jQuery 表格隔行换色,响应鼠标变换颜色代码。不管你的表格有多少行,他都能智能找出哪一行是偶数行,然后赋值一个不同的背景颜色,引入了jQuery的概念,自写了一个小函数,方便调用,原理是给class为stripe的表格的...[详细]
-
jQuery为表格增加mouseover和mouseout函数
[PHP教程] 2018-08-15 23:37:32 77人阅读
jQuery 为表格增加mouseover和mouseout函数,当鼠标移到class为stripe的表格的tr上时,执行函数,此函数为表格的每个行增加背景色,当鼠标移走时取消背景色,这里用jQuery就轻松的实现了大家非常喜欢的响应鼠标表格...[详细]
-
CSS 将网页表格美化成Excel表格的效果
[PHP教程] 2018-08-15 23:37:05 68人阅读
CSS 将网页表格美化成Excel表格的效果。虽然功能不如真正的Excel,但是这必竟是CSS版啊,能写出这效果,也真让人佩服啊,不错的效果,鼠标在表格内点击看看,很棒的吧~~ 演示: !DOCTYPE html PUBLIC -//W3C//DTD XH...[详细]
-
隔行变色效果,Css定义表格td/tr等元素实现
[PHP教程] 2018-08-15 23:36:26 65人阅读
隔行变色效果,Css定义表格td/tr等元素实现,一款来自国外的、风格简洁的CSS隔行换色代码,不很明亮的风格,一般多见于老外的网站中,整体大气自然,实用,没有华丽的修饰。不过本表格换色代码不是基于CSS的,用了比...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]