Jul 8, 2012

Add Classic Beautiful Drop Down Menubar For Blogger

This is the another Beautiful Classic Drop down menu for Blogger. Last time i have also posted About huge Collection of Drop Down Menu in past .this time i will tell you how to add this in some simple steps just Follow the below steps



  1. Log in to blogger  Design > Page Element.
  2. Click Add Gadget and select 'HTML/Javascript
  3. Paste below code.



<div class="slider-wrapper theme-pascal">
<div class="ribbon">
</div>
<div class="nivoSlider" id="slider">
<script src='http://bloggertrix.googlecode.com/files/classic-menu.js'
type='text/javascript'></script>
<style>
.ddsubmenustyle, .ddsubmenustyle div {
    font: normal 13px Verdana;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    list-style-type: none;
    background: white;
    border: 1px solid black;
    border-bottom-width: 0;
    visibility: hidden;
    z-index: 100;
}
.ddsubmenustyle ul {
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    list-style-type: none;
    border: 0px none;
}
.ddsubmenustyle li a {
    display: block;
    width: 170px;
    color: black;
    background-color: lightyellow;
    text-decoration: none;
    padding: 4px 5px;
    border-bottom: 1px solid black;
}
* html .ddsubmenustyle li {
        /*IE6 CSS hack*/
    display: inline-block;
    width: 170px;       
}

.ddsubmenustyle li a:hover {
    background-color: black;
    color: white;
}

.downarrowpointer {
        /*CSS for "down" arrow image added to top menu items*/
    padding-left: 4px;
    border: 0;
}
.rightarrowpointer {
        /*CSS for "right" arrow image added to drop down menu items*/
    position: absolute;
    padding-top: 3px;
    left: 100px;
    border: 0;
}
.ddiframeshim {
    position: absolute;
    z-index: 500;
    background: transparent;
    border-width: 0;
    width: 0;
    height: 0;
    display: block;
}   
.mattblackmenu ul {
    margin: 0;
    padding: 0;
    font: bold 12px Verdana;
    list-style-type: none;
    border-bottom: 1px solid gray;
    background: #414141;
    overflow: hidden;
    width: 100%;
}
.mattblackmenu li {
    display: inline;
    margin: 0;
}
.mattblackmenu li a {
    float: left;
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 6px 8px;
        /*padding inside each tab*/
    border-right: 1px solid white;
        /*right divider between tabs*/
    color: white;
    background: #414141;
}
.mattblackmenu li a:visited {
    color: white;
}
.mattblackmenu li a:hover {
    background: black;
        /*background of tabs for hover state */
}
.mattblackmenu a.selected {
    background: black;
        /*background of tab with "selected" class assigned to its LI */
}
</style>
<div id="ddtopmenubar" class="mattblackmenu">
    <ul>
        <li>
            <a href="#">LINK-1</a>
        </li>
        <li>
            <a href="#" rel="ddsubmenu1">LINK-2</a>
        </li>
        <li>
            <a href="#" rel="ddsubmenu2">LINK-3</a>
        </li>
        <li>
            <a href="#">Link-4</a>
        </li>
        <li>
            <a href="#" rel="ddsubmenu3">LINK-5</a>
        </li>
    </ul>
</div>
<script type="text/javascript">
    ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
</script>
<ul class='ddsubmenustyle' id='ddsubmenu1'>
    <li>
        <a href='#'>LINK-2.1</a>
    </li>
    <li>
        <a href='#'>LINK-2.2</a>
        <ul>
            <li>
                <a href='#'>LINK-2  2.1</a>
            </li>
            <li>
                <a href='#'>LINK-2  2.2</a>
            </li>
        </ul>
    </li>
    <li>
        <a href='#'>LINK-2.3</a>
        <ul>
            <li>
                <a href='#'>LINK-2 3.1</a>
            </li>
        </ul>
    </li>
    <li>
        <a href='#'>LINk-2.4</a>
    </li>
</ul>
<ul class='ddsubmenustyle' id='ddsubmenu2'>
    <li>
        <a href='#'>LINK-3.1</a>
    </li>
    <li>
        <a href='#'>LINK-3.2</a>
    </li>
    <li>
        <a href='#'>LINK-3.3</a>
        <ul>
            <li>
                <a href='#'>LINK-3  </a>
            </li>
            <li>
                <a href='#'>LINK-3 </a>
            </li>
            <li>
                <a href='#'>LINK-3  </a>
            </li>
            <li>
                <a href='#'>LINK-3 </a>
            </li>
        </ul>
    </li>
    <li>
        <a href='#'>LINK-3</a>
    </li>
    <li>
        <a href='#'>LINK3 </a>
        <ul>
            <li>
                <a href='#'>LINK-3 </a>
            </li>
            <li>
                <a href='#'>LINK-3 </a>
                <ul>
                    <li>
                        <a href='#'>LINK-3  </a>
                    </li>
                    <li>
                        <a href='#'>LINK-3  </a>
                    </li>
                    <li>
                        <a href='#'>LINK-3  </a>
                    </li>
                </ul>
            </li>
        </ul>
    </li>
    <li>
        <a href='#'>LINK3 ITEM 6</a>
    </li>
</ul>
<ul class='ddsubmenustyle' id='ddsubmenu3'>
    <li>
        <a href='#'>LINK5 ITEM 1</a>
    </li>
    <li>
        <a href='#'>LINK5 ITEM 2</a>
    </li>
    <li>
        <a href='#'>LINK5 ITEM 3</a>
    </li>
    <li>
        <a href='#'>LINK5 ITEM 4</a>
    </li>
    <li>
        <a href='#'>LINK5 ITEM 5</a>
    </li>
</ul></div></div>

Replace # with your Link and text according to your need 

Save template all done Enjoy

Subscribe Updates, Its FREE!

6 comments:

  1. postingan yang bagus tentang"Add Classic Beautiful Drop Down Menubar For Blogger"

    ReplyDelete
  2. Replies
    1. just find "border-right: 1px solid white;" in code and edite 1px as your require space

      Delete
  3. Hi,

    Earlier this code is working, now the above code is not working (drop downs are not coming)

    http://perlexamples.blogspot.com/

    ReplyDelete

 

Copyright @ 2013 EgyTricks.

Designed by Vikash | EgyTricks