Anasayfa
iletisim
topliste
defter
Forum
oiletisim
ps-brush
hakkimda
ps-nedir
psdersleri
katman
fonlar
x7
html-nedir
css-nedir
css-menu
vertical-menu
horizontal-menu
vertical-menu
Nested Side Bar Menu
Demo:
Item 1
Item 2
Folder 1
Sub Item 1.1
Sub Item 1.2
Item 3
Folder 2
Sub Item 2.1
Folder 2.1
Sub Item 2.1.1
Sub Item 2.1.2
Sub Item 2.1.3
Sub Item 2.1.4
Item 4
Css Kod:
<style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .sidebarmenu ul{ margin: 0; padding: 0; list-style-type: none; font: bold 13px Verdana; width: 180px; /* Main Menu Item widths */ border-bottom: 1px solid #ccc; } .sidebarmenu ul li{ position: relative; } /* Top level menu links style */ .sidebarmenu ul li a{ display: block; overflow: auto; /*force hasLayout in IE7 */ color: white; text-decoration: none; padding: 6px; border-bottom: 1px solid #778; border-right: 1px solid #778; } .sidebarmenu ul li a:link, .sidebarmenu ul li a:visited, .sidebarmenu ul li a:active{ background-color: #012D58; /*background of tabs (default state)*/ } .sidebarmenu ul li a:visited{ color: white; } .sidebarmenu ul li a:hover{ background-color: black; } /*Sub level menu items */ .sidebarmenu ul li ul{ position: absolute; width: 170px; /*Sub Menu Items width */ top: 0; visibility: hidden; } .sidebarmenu a.subfolderstyle{ background: url(right.gif) no-repeat 97% 50%; } /* Holly Hack for IE */ * html .sidebarmenu ul li { float: left; height: 1%; } * html .sidebarmenu ul li a { height: 1%; } /* End */ </style>
Html Kod:
<div class="sidebarmenu"> <ul id="sidebarmenu1"> <li><a href="#" _fcksavedurl="#">Item 1</a></li> <li><a href="#" _fcksavedurl="#">Item 2</a></li> <li><a href="#" _fcksavedurl="#">Folder 1</a> <ul> <li><a href="#" _fcksavedurl="#">Sub Item 1.1</a></li> <li><a href="#" _fcksavedurl="#">Sub Item 1.2</a></li> </ul> </li> <li><a href="#" _fcksavedurl="#">Item 3</a></li> <li><a href="#" _fcksavedurl="#">Folder 2</a> <ul> <li><a href="#" _fcksavedurl="#">Sub Item 2.1</a></li> <li><a href="#" _fcksavedurl="#">Folder 2.1</a> <ul> <li><a href="#" _fcksavedurl="#">Sub Item 2.1.1</a></li> <li><a href="#" _fcksavedurl="#">Sub Item 2.1.2</a></li> <li><a href="#" _fcksavedurl="#">Sub Item 2.1.3</a></li> <li><a href="#" _fcksavedurl="#">Sub Item 2.1.4</a></li> </ul> </li> </ul> </li> <li><a href="#" _fcksavedurl="#">Item 4</a></li> </ul> </div>
Panels Vertical Menu
Demo:
» Dynamic Drive
» CSS Examples
» JavaScript Reference
» DOM Reference
» CSS Drive
» Coding Forums,
Css Kod:
<style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .sexypanels{ list-style-type: none; margin: 0; padding: 0; width: 180px; /* width of menu */ } .sexypanels li{ border-bottom: 1px solid white; /* white border beneath each menu item */ } .sexypanels li a{ background: #333 url(http://www.dynamicdrive.com/cssexamples/media/sexypanelright.gif) no-repeat right top; /*color of menu by default*/ font: bold 13px "Lucida Grande", "Trebuchet MS", Verdana; display: block; color: white; width: auto; padding: 5px 0; /* Vertical (top/bottom) padding for each menu link */ text-indent: 8px; text-decoration: none; border-bottom: 1px solid black; /*bottom border of menu link. Should be equal or darker to link's bgcolor*/ } .sexypanels li a:visited, .sexypanels li a:active{ color: white; } .sexypanels li a:hover{ background-color: black; /*color of menu onMouseover*/ color: white; border-bottom: 1px solid black; /*bottom border of menu link during hover. Should be equal or darker to link's hover's bgcolor*/ } </style> this.getElementsByTagName("ul")[0].style.display="block" } ultags[t].parentNode.onmouseout=function(){ this.getElementsByTagName("ul")[0].style.display="none" } } for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars ultags[t].style.visibility="visible" ultags[t].style.display="none" } } } if (window.addEventListener) window.addEventListener("load", initsidebarmenu, false) else if (window.attachEvent) window.attachEvent("onload", initsidebarmenu)
Html Kod:
<ul class="sexypanels"> <li><a href="http://www.dynamicdrive.com/" _fcksavedurl="http://www.dynamicdrive.com/">» Dynamic Drive</a></li> <li><a href="http://www.dynamicdrive.com/style/" _fcksavedurl="http://www.dynamicdrive.com/style/" >» CSS Examples</a></li> <li><a href="http://www.javascriptkit.com/jsref/" _fcksavedurl="http://www.javascriptkit.com/jsref/">» JavaScript Reference</a></li> <li><a href="http://www.javascriptkit.com/domref/" _fcksavedurl="http://www.javascriptkit.com/domref/">» DOM Reference</a></li> <li><a href="http://www.cssdrive.com" _fcksavedurl="http://www.cssdrive.com">» CSS Drive</a></li> <li class="lastitem"><a href="http://www.codingforums.com/" _fcksavedurl="http://www.codingforums.com/">» Coding Forums</a></li> </ul>
Arrow Bullet List Menu
Demo:
CSS Library
Horizontal CSS Menus
Vertical CSS Menus
Image CSS
Form CSS
DIVs and containers
Links & Buttons
Other
Browse All
CSS Drive
CSS Gallery
Menu Gallery
Web Design News
CSS Examples
CSS Compressor
CSS Forums
Css Kod:
<style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .arrowlistmenu{ width: 180px; /*width of menu*/ } .arrowlistmenu .headerbar{ font: bold 14px Arial; color: white; background: black url(http://www.dynamicdrive.com/cssexamples/media/titlebar.png) repeat-x center left; margin-bottom: 10px; /*bottom spacing between header and rest of content*/ text-transform: uppercase; padding: 4px 0 4px 10px; /*header text is indented 10px*/ } .arrowlistmenu ul{ list-style-type: none; margin: 0; padding: 0; margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/ } .arrowlistmenu ul li{ padding-bottom: 2px; /*bottom spacing between menu items*/ } .arrowlistmenu ul li a{ color: #A70303; background: url(http://www.dynamicdrive.com/cssexamples/media/arrowbullet.png) no-repeat center left; /*custom bullet list image*/ display: block; padding: 2px 0; padding-left: 19px; /*link text is indented 19px*/ text-decoration: none; font-weight: bold; border-bottom: 1px solid #dadada; font-size: 90%; } .arrowlistmenu ul li a:visited{ color: #A70303; } .arrowlistmenu ul li a:hover{ /*hover state CSS*/ color: #A70303; background-color: #F3F3F3; } </style>
Html Kod:
<div class="arrowlistmenu"> <h3 class="headerbar">CSS Library</h3> <ul> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Horizontal CSS Menus</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Vertical CSS Menus</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C4/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C4/">Image CSS</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C6/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C6/">Form CSS</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C5/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C5/">DIVs and containers</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C7/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C7/">Links & Buttons</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C8/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/category/C8/">Other</a></li> <li><a href="http://www.dynamicdrive.com/style/csslibrary/all/" _fcksavedurl="http://www.dynamicdrive.com/style/csslibrary/all/">Browse All</a></li> </ul> <h3 class="headerbar">CSS Drive</h3> <ul> <li><a href="http://www.cssdrive.com" _fcksavedurl="http://www.cssdrive.com">CSS Gallery</a></li> <li><a href="http://www.cssdrive.com/index.php/menudesigns/" _fcksavedurl="http://www.cssdrive.com/index.php/menudesigns/">Menu Gallery</a></li> <li><a href="http://www.cssdrive.com/index.php/news/" _fcksavedurl="http://www.cssdrive.com/index.php/news/">Web Design News</a></li> <li><a href="http://www.cssdrive.com/index.php/examples/" _fcksavedurl="http://www.cssdrive.com/index.php/examples/">CSS Examples</a></li> <li><a href="http://www.cssdrive.com/index.php/main/csscompressor/" _fcksavedurl="http://www.cssdrive.com/index.php/main/csscompressor/">CSS Compressor</a></li> <li><a href="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6" _fcksavedurl="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS Forums</a></li> </ul> </div>
Glossy Vertical Menu
Demo:
Dynamic Drive
CSS Examples
JavaScript Reference
DOM Reference
CSS Drive
Coding Forums
Css Kod:
<style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .glossymenu{ list-style-type: none; margin: 5px 0; padding: 0; width: 170px; border: 1px solid #9A9A9A; border-bottom-width: 0; } .glossymenu li a{ background: white url(http://www.dynamicdrive.com/cssexamples/media/glossyback.gif) repeat-x bottom left; font: bold 13px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif; color: white; display: block; width: auto; padding: 3px 0; padding-left: 10px; text-decoration: none; } * html .glossymenu li a{ /*IE only. Actual menu width minus left padding of A element (10px) */ width: 160px; } .glossymenu li a:visited, .glossymenu li a:active{ color: white; } .glossymenu li a:hover{ background-image: url(http://www.dynamicdrive.com/cssexamples/media/glossyback2.gif); } </style>
Html Kod:
<ul class="glossymenu"> <li><a href="http://www.dynamicdrive.com/" _fcksavedurl="http://www.dynamicdrive.com/" >Dynamic Drive</a></li> <li><a href="http://www.dynamicdrive.com/style/" _fcksavedurl="http://www.dynamicdrive.com/style/" >CSS Examples</a></li> <li><a href="http://www.javascriptkit.com/jsref/" _fcksavedurl="http://www.javascriptkit.com/jsref/">JavaScript Reference</a></li> <li><a href="http://www.javascriptkit.com/domref/" _fcksavedurl="http://www.javascriptkit.com/domref/">DOM Reference</a></li> <li><a href="http://www.cssdrive.com" _fcksavedurl="http://www.cssdrive.com">CSS Drive</a></li> <li><a href="http://www.codingforums.com/" _fcksavedurl="http://www.codingforums.com/" style="border-bottom-width: 0">Coding Forums</a></li> </ul>
30686 ziyaretçi (61826 klik) burdaydı
Bu web sitesi ücretsiz olarak
Bedava-Sitem.com
ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol