HTML树形结构,用ID代替 "UL" "li"
來源:互聯網 2006-01-31 17:09:24 評論
树形示例:
/**/
///
///
Form1
///
以下是树形示例的HTML代码:
/* ====== HTML代码 ====== */
/* ====== HTML代码开始 ====== */
Image_Closed.style.display='inline';
Text_Open.style.display='none';
Text_Closed.style.display='inline';"
height=16 src="image/ExpandedSubBlockStart.gif" width=11 align=top>
Text_Closed.style.display='none';
Image_Open.style.display='inline';
Text_Open.style.display='inline';"
height=16 src="image/ContractedSubBlock.gif" width=11 align=top>
BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid;
BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
/**/
///
<summary>
src="image/InBlock.gif">
///
Form1
src="image/ExpandedSubBlockEnd.gif">
///
</summary>
/* ====== HTML代码结束 ====== */
树形示例:
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedBlockStart.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ContractedBlock.gif[/img][/url]
/**/
///
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
///
Form1
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedBlockEnd.gif[/img][/url]
///
以下是树形示例的HTML代码:
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedBlockStart.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ContractedBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_dot.gif[/img][/url]
/* ====== HTML代码 ====== */
/* ====== HTML代码开始 ====== */
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ContractedSubBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedSubBlockStart.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] height=16 src="image/ExpandedSubBlockStart.gif" width=11 align=top>
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] height=16 src="image/ContractedSubBlock.gif" width=11 align=top>
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedSubBlockEnd.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ContractedSubBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedSubBlockStart.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid;
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] /**/
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedSubBlockEnd.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ContractedSubBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedSubBlockStart.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] ///
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] <summary>
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] src="image/InBlock.gif">
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] ///
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] Form1
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] src="image/ExpandedSubBlockEnd.gif">
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] ///
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url] </summary>
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedSubBlockEnd.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_InBlock.gif[/img][/url]
[url=/bbs/detail_147527.html][img]http://blog.csdn.net/images/blog_csdn_net/luckyjan/94857/o_ExpandedBlockEnd.gif[/img][/url] /* ====== HTML代码结束 ====== */