当前位置: 首页 > 图文教程 > 网络编程 > Javascript > 使用脚本控制网页Table的显示隐藏(全代码)_AX

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 使用脚本控制网页Table的显示隐藏(全代码)_AX


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 240 ::
收藏到网摘: n/a

【需求】
如果大家登录过
我傲:http://www.woall.com
新浪博客等
就会发现可以点击栏目标题,就会发现栏目可以展开和收起,非常好用!其实这个功能实现起来很简单.重点就是要找到要隐藏的Table行,对它的display属性进行控制.
强烈建议大家登录:http://www.woall.com亲身体验一下!
【另】帖子里网址怎么加链接啊???
【源码】使用方法:把文件考下来,保存为htm类型的文件即可!
点击运行可以看到效果:
[Ctrl+A 全选 提示:你可先修改部分代码,再按运行]