以前寫的兩個CSS樹形菜單

來源:互聯網
上載者:User

第一次寫的CSS樹形菜單比較簡單,只有二級目錄,javascript代碼總共不到十行,主要是靠CSS中的包含寫法來實現的。
示範地址
(1)http://www.cnlei.org/mycode/csstreemenu/index.html
(2)http://cnlei.iecn.net/mycode/csstreemenu/index.html
下載連結
(1)http://www.cnlei.org/mycode/csstreemenu/csstreemenu.rar
(2)http://cnlei.iecn.net/mycode/csstreemenu/csstreemenu.rar

在第一次寫的基礎上改進成了無限級了,並取名為:CNL Tree Menu
1."CNL Tree Menu"為無限級樹形,相容以下版本的瀏覽器:IE5.0+, FF1.06+, Opera8.5+ ……
2.HTML,CSS,JavaScript代碼相互分離(即資料,風格,指令碼三者分離),可應用於多種場合,易於維護修改;更換樹形表徵圖,只需要修改CSS檔案.
3.通過W3C校正(XHtml1-Strict,CSS1.0).
示範地址
(1)http://www.cnlei.org/mycode/CNLTreeMenu/Ver1.0.2/index.html
(2)http://cnlei.iecn.net/mycode/CNLTreeMenu/Ver1.0.2/index.html
下載連結
(1)http://www.cnlei.org/mycode/CNLTreeMenu/CNLTreeMenuVer1.0.2.rar
(2)http://cnlei.iecn.net/mycode/CNLTreeMenu/CNLTreeMenuVer1.0.2.rar

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.