skip to main | skip to sidebar

SUARA PELAJAR

Semua Tentang Pelajar

  • Entries (RSS)
  • Comments (RSS)
  • Home
  • About Us
  • Archives
  • Contact Us

Kamis, 09 Juni 2011

Belajar Blog: SMOOTH MULTILEVEL DROPDOWN MENU

Created By suryo sulistyo di Kamis, Juni 09, 2011 Label: Blogger
First of all i higly recommend to back up your template first.(click on download full template.)

Log in to your blogger Dashboard
Go to Design --> Edit HTML
Then copy the code below, and paste above </head>


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="jqueryslidemenu.css" />

<!--[if lte IE 7]>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->

<script type="text/javascript" src="http://sites.google.com/site/amatullah83/js-indahnyaberbagi/Dropdownmenuwithjquery.js"></script>
After that copy the code below, and paste above ]]></b:skin>
.jqueryslidemenu{
font: bold 12px Verdana;
background: #414141;
width: 100%;
}

.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}

/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
background: #414141; /*background of tabs (default state)*/
color: white;
padding: 8px 10px;
border-right: 1px solid #778;
color: #2d2b2b;
text-decoration: none;
}

* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: white;
}

.jqueryslidemenu ul li a:hover{
background: black; /*tab link background during hover state*/
color: white;
}

/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}

.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}

/* ######### CSS classes applied to down and right arrow images ######### */

.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}
And finally copy the code below, and paste above  <div id='header-wrapper'>
<div id="myslidemenu" class="jqueryslidemenu">
<ul>
<li><a href="http://full-tricks.blogspot.com/">Home</a></li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Folder 1</a>
<ul>
<li><a href="#">Sub Item 1.1</a></li>
<li><a href="#">Sub Item 1.2</a></li>
<li><a href="#">Sub Item 1.3</a></li>
<li><a href="#">Sub Item 1.4</a></li>
</ul>
</li>
<li><a href="#">Item 3</a></li>
<li><a href="#">Folder 2</a>
<ul>
<li><a href="#">Sub Item 2.1</a></li>
<li><a href="#">Folder 2.1</a>
<ul>
<li><a href="#">Sub Item 2.1.1</a></li>
<li><a href="#">Sub Item 2.1.2</a></li>
<li><a href="#">Folder 3.1.1</a>
<ul>
<li><a href="#">Sub Item 3.1.1.1</a></li>
<li><a href="#">Sub Item 3.1.1.2</a></li>
<li><a href="#">Sub Item 3.1.1.3</a></li>
<li><a href="#">Sub Item 3.1.1.4</a></li>
<li><a href="#">Sub Item 3.1.1.5</a></li>
</ul>
</li>
<li><a href="#">Sub Item 2.1.4</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="http://full-tricks.blogspot.com/">Item 4</a></li>
</ul>
<br style="clear: left" />
</div>
Customizae the Links ...and save it...
let me have your comments if this works properly with you or not....
Keep sharing 
Related Posts with thumbnails for bloggerblogger widgets

0 komentar:

Posting Komentar

Posting Lebih Baru Posting Lama Beranda
Langganan: Posting Komentar (Atom)
Argyle

Tweet
Share

[Get This]

Translate

Labels


Blog Archive

  • ►  2012 (169)
    • ►  Oktober (5)
    • ►  September (7)
    • ►  Agustus (1)
    • ►  Juni (17)
    • ►  Mei (14)
    • ►  April (39)
    • ►  Maret (78)
    • ►  Februari (5)
    • ►  Januari (3)
  • ▼  2011 (142)
    • ►  Desember (9)
    • ►  November (1)
    • ►  Oktober (21)
    • ►  September (2)
    • ►  Agustus (8)
    • ►  Juli (19)
    • ▼  Juni (2)
      • Anak Autisme Gunakan Otak dengan Cara Berbeda - Ke...
      • Belajar Blog: SMOOTH MULTILEVEL DROPDOWN MENU
    • ►  Mei (33)
    • ►  April (23)
    • ►  Maret (8)
    • ►  Februari (16)

Statistik Pengunjung

633,148
Diberdayakan oleh Blogger.

Partner Blog

  • Cliquers

Pengikut

.:[Tutup][Klik 2x]:.
TBO
Image by suryos - star

Temukan Di Facebook

Free SEO Tools

Your Id

IP

Back Song

Clint mansell [32 33] lux aeterna by Suryos Tbo
 

© 2010 My Web Blog
designed by DT Website Templates | Bloggerized by Suryo Tbo | Tbo Template