首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > CSS只有样本创建标签和可扩展的树没有JavaScript

CSS只有样本创建标签和可扩展的树没有JavaScript

资 源 简 介

Novel method (so far as the author is aware) of displaying tabs and trees using pure HTML/CSS - no javascript needed. Works on modern browsers which support html labels, css"s :checked property, and css"s + selector. While playing with radio buttons I accidentally discovered that I could use them to make tabs in my web pages without the use of javascript. This has already been done, often with pagename>tabname such that the body tag for each page has id=pagename as an attribute. I"m sure there are other methods too. A quick google search did not reveal the method I had found. A couple more minutes with CSS and I had a tree menu which expanded and collapsed on a click. Cool. This method is not necessarily better or worse than what"s out there. It"s just different. I don"t really care to debate the finer points of whose tabs are more efficient to run or more elegant to read. This is just another metho

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 开心快活人 2小时前 成为了本站会员

  • 晋财 3小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

  • bigfatcat1977 3天前 成为了本站会员

0.207133s