布罗特的Blog

原生JS选项卡切换

以前模拟新浪做过一个简单版的tab切换,这回增强一下,选项不采用常规的ul,li结构,更加语义化。此切换可以自己指定默认显示哪个Tab,兼顾JS被禁止情况下的页面效果,算是自己对渐进增强的一点点理解。

Tips:You can change the code before run.

7 Comments

Junhui wrote at 08:45 上午 - 13th 三月 2009 Permalink

JS..呃..这个是什么来的.呃..
我什么都不知道,什么都不知道..
And..为什么一定要填Mail咧~~

admin wrote at 17:14 下午 - 13th 三月 2009 Permalink

JS就是JavaScript啊 不知道就不知道吧 因为Blog程序的限制,必须填mail

风之逸 wrote at 13:00 下午 - 27th 三月 2009 Permalink

你换地方了啊~
不错哦,速度蛮好的。我的小站地址也变了,跟你申请做个链接

http://journey.rainboww.net 风之逸's blog

admin wrote at 17:43 下午 - 2nd 四月 2009 Permalink

@风之逸 已经做好链接。

小王 wrote at 13:51 下午 - 3rd 五月 2009 Permalink

你好,请问下
像这篇文章的插入代码和运行代码的功能是怎么实现的

小王 wrote at 17:02 下午 - 4th 五月 2009 Permalink

谢谢,我去试试

Post a Comment

Required fields are marked *