js 点击标题显示/隐藏层内内容(任意数量,可设css)

 1<SCRIPT src="tabcontrol.js" type=text/javascript></SCRIPT>
 2
 3</HEAD>
 4<BODY>
 5
 6<DIV id=tabControl>
 7    <DIV id=1 titletext="基本资料">
 8        11
 9    </DIV>
10    <DIV id=2 titletext="屏幕参数">1</DIV>
11</DIV>
12<SCRIPT type=text/javascript>
13        var _tabControl=CreateTabControl("tabControl",false);
14 _tabControl.pageClassName="TabPage";
15        _tabControl.init();
16    
</SCRIPT>
17</BODY></HTML>


js
js

源码
posted @ 2008-07-17 13:24  子午  阅读(3970)  评论(0编辑  收藏  举报