常用的三種樹形菜單(很實(shí)用的).doc_第1頁
常用的三種樹形菜單(很實(shí)用的).doc_第2頁
常用的三種樹形菜單(很實(shí)用的).doc_第3頁
常用的三種樹形菜單(很實(shí)用的).doc_第4頁
常用的三種樹形菜單(很實(shí)用的).doc_第5頁
已閱讀5頁,還剩8頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

a text-decoration:none; a,a:visited color:#000;background:inherit; body margin:0;padding:20px;font:12px tahoma,宋體,sans-serif; dt font-size:22px;font-weight:bold;margin:0 0 0 15px; dd margin:0 0 0 15px; h4 margin:0;padding:0;font-size:18px;text-align:center; p margin:0;padding:0 0 0 18px; p a,p a:visited color:#00f;background:inherit; /*CNLTreeMenu Start*/ .CNLTreeMenu img.s cursor:pointer;vertical-align:middle; .CNLTreeMenu ul padding:0; .CNLTreeMenu li list-style:none;padding:0; .Closed ul display:none; .Child img.s background:none;cursor:default; #CNLTreeMenu1 ul margin:0 0 0 17px; #CNLTreeMenu1 img.s width:20px;height:15px; #CNLTreeMenu1 .Opened img.s background:url(/effect/images/treemenu/opened1.gif) no-repeat 0 0; #CNLTreeMenu1 .Closed img.s background:url(/effect/images/treemenu/closed1.gif) no-repeat 0 0; #CNLTreeMenu1 .Child img.s background:url(/effect/images/treemenu/child1.gif) no-repeat 3px 5px; #CNLTreeMenu2 ul margin:0 0 0 17px; #CNLTreeMenu2 img.s width:17px;height:15px; #CNLTreeMenu2 .Opened img.s background:url(/effect/images/treemenu/opened2.gif) no-repeat 4px 6px; #CNLTreeMenu2 .Closed img.s background:url(/effect/images/treemenu/closed2.gif) no-repeat 3px 6px; #CNLTreeMenu2 .Child img.s background:url(/effect/images/treemenu/child2.gif) no-repeat 3px 5px; #CNLTreeMenu3 ul margin:0 0 0 17px; #CNLTreeMenu3 img.s width:34px;height:18px; #CNLTreeMenu3 .Opened img.s background:url(/effect/images/treemenu/opened3.gif) no-repeat 0 1px; #CNLTreeMenu3 .Closed img.s background:url(/effect/images/treemenu/closed3.gif) no-repeat 0 1px; #CNLTreeMenu3 .Child img.s background:url(/effect/images/treemenu/child3.gif) no-repeat 13px 2px; /*CNLTreeMenu End*/ /*Temp CSS for View Demo*/ #CNLTreeMenu1,#CNLTreeMenu2,#CNLTreeMenu3 float:left;width:249px;border:1px solid #99BEEF;background:#D2E4FC;color:inherit;margin:3px;padding:3px; #CNLTreeMenu1,#CNLTreeMenu2 padding-bottom:15px; .ViewCode clear:both;border:1px solid #FFB900;background:#FFFFCC;color:inherit;margin:3px;padding:3px; .ViewCode h6 color:#00f; 無限級樹形菜單- java中文網(wǎng):www.javaweb.cc CNL Tree Menu1 全部展開& lt;/a全部折疊 Zzsky.Cn 技術(shù)區(qū) 網(wǎng)頁技術(shù) JavaScript HTML/XHTML/CSS Ajax 網(wǎng)頁制作工具 設(shè)計/圖形 Flash/多媒體 VML/Web3D Web編程 Java .Net ASP/VBScript PHP Perl/Python Web綜合/開源 數(shù)據(jù)庫 Access/SQLServer MySQL/PostgreSQL Oracle/DB2/Sybase 服務(wù)器 Windows/IIS Unix/Linux/Apache 應(yīng)用服務(wù)器 二級目錄 三級目錄 四級目錄 五級目錄 . 第n級目錄 葉結(jié)點(diǎn)1 葉結(jié)點(diǎn)2 葉結(jié)點(diǎn)3 二級目錄 三級目錄 四級目錄 五級目錄 . 第n級目錄 葉結(jié)點(diǎn)1 葉結(jié)點(diǎn)2 葉結(jié)點(diǎn)3 CNL Tree Menu2 全部展開& lt;/a全部折疊 Zzsky.Cn 技術(shù)區(qū) 網(wǎng)頁技術(shù) JavaScript HTML/XHTML/CSS Ajax 網(wǎng)頁制作工具 設(shè)計/圖形 Flash/多媒體 VML/Web3D Web編程 Java .Net ASP/VBScript PHP Perl/Python Web綜合/開源 數(shù)據(jù)庫 Access/SQLServer MySQL/PostgreSQL Oracle/DB2/Sybase 服務(wù)器 Windows/IIS Unix/Linux/Apache 應(yīng)用服務(wù)器 二級目錄 三級目錄 四級目錄 五級目錄 . 第n級目錄 葉結(jié)點(diǎn)1 葉結(jié)點(diǎn)2 葉結(jié)點(diǎn)3 二級目錄 三級目錄 四級目錄 五級目錄 . 第n級目錄 葉結(jié)點(diǎn)1 葉結(jié)點(diǎn)2 葉結(jié)點(diǎn)3 CNL Tree Menu3 全部展開& lt;/a全部折疊 Zzsky.Cn 技術(shù)區(qū) 網(wǎng)頁技術(shù) JavaScript HTML/XHTML/CSS Ajax 網(wǎng)頁制作工具 設(shè)計/圖形 Flash/多媒體 VML/Web3D Web編程 Java .Net ASP/VBScript PHP Perl/Python Web綜合/開源 數(shù)據(jù)庫 Access/SQLServer MySQL/PostgreSQL Oracle/DB2/Sybase 服務(wù)器 Windows/IIS Unix/Linux/Apache 應(yīng)用服務(wù)器 二級目錄 三級目錄 四級目錄 五級目錄 . 第n級目錄 葉結(jié)點(diǎn)1 葉結(jié)點(diǎn)2 葉結(jié)點(diǎn)3 二級目錄 三級目錄 四級目錄 五級目錄 . 第n級目錄 葉結(jié)點(diǎn)1 葉結(jié)點(diǎn)2 葉結(jié)點(diǎn)3 !- function Ob(o) var o=document.getElementById(o)?document.getElementById(o):o; return o; function Hd(o) Ob(o).style.display=none; function Sw(o) Ob(o).style.display=; function ExCls(o,a,b,n) var o=Ob(o); for(i=0;in;i+) o=o.parentNode; o.className=o.className=a?b:a; function CNLTreeMenu(id,TagName0) this.id=id; this.TagName0=TagName0=?li:TagName0; this.AllNodes = Ob(this.id).getElementsByTagName(TagName0); this.InitCss = function (ClassName0,ClassName1,ClassName2,ImgUrl) this.ClassName0=ClassName0; this.ClassName1=ClassName1; this.ClassName2=ClassName2; this.ImgUrl=ImgUrl | /effect/images/treemenu/s.gif; this.ImgBlankA =; this.ImgBlankB =; for (i=0;ithis.AllNodes.length;i+ ) this.AllNodesi.className=?this.AllNodesi.className=ClassName1

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論