可以新建 关闭的tab选项卡
?可以打开和关闭的tab 选项卡
?
演示
?
XML/HTML Code
- <div?id="dhtmlgoodies_tabView1">??
- ????<div?class="dhtmlgoodies_aTab">??
- ????????<a?href="http://www.freejs.net/article_tabbiaoqian_40.html">js?tab选项卡?mootools?tab选项卡???</a>??
- ????</div>??
- ????<div?class="dhtmlgoodies_aTab">??
- ????????第二个tab<br>??
- ????????<a?href="#"?onclick="createNewTab('dhtmlgoodies_tabView1','Dynamic','','externalfile.html',true);return?false">Create?new?tab?dynamically</a><br>?????
- ????</div>??
- ????<div?class="dhtmlgoodies_aTab">??
- ????????测试3??
- ????????<a?href="#"?onclick="deleteTab('Menus')">关闭这个tab</a><br>??????
- ????</div>??
- ????<div?class="dhtmlgoodies_aTab">??
- ????????Content?of?tab?4<br>??
- ????</div>??
- </div>??
js文件比较大,在演示页面可以查看源码?
原文地址:http://www.freejs.net/article_tabbiaoqian_44.html