• Create Multi Level Drop Down Menu In Blogger




    This is our 5th drop down menu,after sharing two versions of drop down menus here we are sharing another cool drop down menu designed by dynamicdrive and bloggerizedmybloggertricks.This is a multi level drop down menu so that it will help you a ot to organize your categories and some important links,also it will help your readers to easily navigate through your blog.The HTML structure of this menu is so easy as you have to use only <ul> and <li> tags,but you have to add a different ul id for a new drop down,that is the little negative point of this menu.Just follow below steps carefully,you will easily add this menu to your blog.Now lets see how to add it to blogger blog,First take a demo of the menu.





    Live Menu Demo


    How To Add Multi Level Drop Down Menu To Blogger


    1. Go to Blogger Dashboard > Layout
    2. Click on Add a Gadget (below header)
    3. Select HTML/JavaScript
    4. Paste below code inside it,


    <script src='http://code.helperblogger.com/dd-level-menu.js'
    type='text/javascript'></script>
    <style>
    /* ######### Drop Down Menu Bu HelperBlogger.com ######### */    
    /* ######### Matt Black Strip Main Menu Bar CSS ######### */
    .ddsubmenustyle, .ddsubmenustyle div {
            /*topmost and sub DIVs, respectively*/
        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;
            /*width of menu (not including side paddings)*/
        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;
            /*width of menu (include side paddings of LI A*/
    }
    
    .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;
    }
        /* ######### Black Strip Main Menu Bar CSS ######### */
    .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="#">LINK1</a>
            </li>
            <li>
                <a href="#" rel="ddsubmenu1">LINK2</a>
            </li>
            <li>
                <a href="#" rel="ddsubmenu2">LINK3</a>
            </li>
            <li>
                <a href="#">Link4</a>
            </li>
            <li>
                <a href="#" rel="ddsubmenu3">LINK5</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='#'>LINK2 ITEM 1</a>
        </li>
        <li>
            <a href='#'>LINK2 ITEM 2</a>
            <ul>
                <li>
                    <a href='#'>LINK2 ITEM 2.1</a>
                </li>
                <li>
                    <a href='#'>LINK2 ITEM 2.2</a>
                </li>
            </ul>
        </li>
        <li>
            <a href='#'>LINK2 ITEM 3</a>
            <ul>
                <li>
                    <a href='#'>LINK2 ITEM 3.1</a>
                </li>
            </ul>
        </li>
        <li>
            <a href='#'>LINK2 ITEM 4</a>
        </li>
    </ul>
    <ul class='ddsubmenustyle' id='ddsubmenu2'>
        <li>
            <a href='#'>LINK3 ITEM 1</a>
        </li>
        <li>
            <a href='#'>LINK3 ITEM 2</a>
        </li>
        <li>
            <a href='#'>LINK3 ITEM 3</a>
            <ul>
                <li>
                    <a href='#'>LINK3 ITEM 3.1</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 3.2</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 3.3</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 3.4</a>
                </li>
            </ul>
        </li>
        <li>
            <a href='#'>LINK3 ITEM 4</a>
        </li>
        <li>
            <a href='#'>LINK3 ITEM 5</a>
            <ul>
                <li>
                    <a href='#'>LINK3 ITEM 5.1</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 5.2</a>
                    <ul>
                        <li>
                            <a href='#'>LINK3 ITEM 5.2 1</a>
                        </li>
                        <li>
                            <a href='#'>LINK3 ITEM 5.2 2</a>
                        </li>
                        <li>
                            <a href='#'>LINK3 ITEM 5.2 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>If you want Mor Menu Copy the code : <script src='http://code.helperblogger.com/dd-level-menu.js'
    type='text/javascript'></script>
    <style>
    /* ######### Drop Down Menu Bu HelperBlogger.com ######### */    
    /* ######### Matt Black Strip Main Menu Bar CSS ######### */
    .ddsubmenustyle, .ddsubmenustyle div {
            /*topmost and sub DIVs, respectively*/
        font: normal 17px 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: 200;
    }
    
    .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;
            /*width of menu (not including side paddings)*/
        color: blue;
        background-color: lightgreen;
        text-decoration: none;
        padding: 4px 5px;
        border-bottom: 1px solid black;
    }
    
    * html .ddsubmenustyle li {
            /*IE6 CSS hack*/
        display: inline-block;
        width: 170px;
            /*width of menu (include side paddings of LI A*/
    }
    
    .ddsubmenustyle li a:hover {
        background-color: pink;
        color: purple;
    }
    
    .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;
    }
        /* ######### Black Strip Main Menu Bar CSS ######### */
    .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> 
      <li>            
                   
                <a href="http://samjustun.blogspot.com/" rel="ddsubmenu1">HOME</a>
            </li>
            <li>
                <a href="http://samjustunpoems.blogspot.com/" rel="ddsubmenu2">POEMS</a>
            </li>
            <li>
                <a href="http://samjustun.blogspot.com/" rel="ddsubmenu3">UMBC</a>
            </li>
     <li>
                <a href="http://samjustun.blogspot.com/search/label/Chinland" rel="ddsubmenu4">CHIN LAND</a>
            </li>
            <li>
                <a href="#" rel="ddsubmenu5">LEARN</a>
            </li>
     <li>
                <a href="#" rel="ddsubmenu6">TEACH ZONE</a>
            </li>
     <li>
                <a href="http://samjustun.blogspot.com/p/blog-page_13.html" rel="ddsubmenu7">PHOTOS</a>
            </li>
     <li>
    </li>
    </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='http://www.123contactform.com/form-349225/Contact-Form'>Contact Me</a>
        </li>
        <li>
            <a href='http://www.123contactform.com/form-349245/Feedback'>Feedback</a>
        </li>
        <li>
        <a href=' http://samjustun.blogspot.com/p/full-name-prefix-first-name-middle-name.html'>Become An Author</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/p/chat.html'>CHAT </a>
            <ul>
                   <li>
                    <a href='#'>LINK1 ITEM 2.1</a>
                </li>
                <li>
                    <a href='#'>LINK1 ITEM 2.2</a>
                </li>
            </ul></li></ul>
        
        <li>
      </li>
    <ul class='ddsubmenustyle' id='ddsubmenu2'>
        <li>
            <a href='http://samjustunpoems.blogspot.com/search/label/Alone'>Alone</a>
        </li>
        <li>
            <a href='http://samjustunpoems.blogspot.com/search/label/Sad%20Poems'>Sad Poems</a>
        </li>
        <li>
            <a href='http://samjustunpoems.blogspot.com/search/label/Love%20Poems'>Love Poems</a>
            <ul>
                <li>
                    <a href='http://samjustunpoems.blogspot.com/search/label/Best%20of%20the%20Best%20poems'>Best of the Best poems</a>
                </li>
                <li>
                    <a href='http://samjustunpoems.blogspot.com/search/label/Poems%20on%20Life'>Poems on Life</a>
                </li>
                <li>
                    <a href='http://samjustunpoems.blogspot.com/search/label/Misc%20Poems'>Misc Poems</a>
                </li>
                <li>
                    <a href='#'>LINK2 ITEM 3.4</a>
                </li>
            </ul>
        </li>
        <li>
            <a href='http://samjustunpoems.blogspot.com/search/label/Friendship%20poems'>Friendship Poems</a>
        </li>
        <li>
            <a href='#'>LINK2 ITEM 5</a>
            <ul>
                <li>
                    <a href='#'>LINK2 ITEM 5.1</a>
                </li>
                <li>
                    <a href='#'>LINK2 ITEM 5.2</a>
                    <ul>
                        <li>
                            <a href='#'>LINK2 ITEM 5.2 1</a>
                        </li>
                        <li>
                            <a href='#'>LINK2 ITEM 5.2 2</a>
                        </li>
                        <li>
                            <a href='http://sungsahsamjustun.blogspot.com/p/love-poems.html'>Love Poems</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </li>
        <li>
            <a href='http://samjustunpoems.blogspot.com/search/label/Teen%20Poems'>Teen Poems</a>
        </li>
    </ul>
    <ul class='ddsubmenustyle' id='ddsubmenu3'>
        <li>
            <a href='http://samjustun.blogspot.com/p/blog-page_17.html'>VIDEOS</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/2012/10/umbc-october-142012.html'>PHOTOS</a>
        </li>
        <li><a href='#'>LINK3 ITEM 4</a>
        </li>
        <li>
           
              <a href='#'>LINK3 ITEM 5</a>
            <ul>
                <li>
                    <a href='#'>LINK3 ITEM 5.1</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 5.2</a>
                    </li>
                        <li>
                            <a href='#'>LINK3ITEM 5.2 1</a>
                        </li>
                        <li>
                            <a href='#'>LINK3ITEM 5.2 2</a>
                        </li>
                        <li>
                            <a href='#'>LINK3 ITEM 5.23</a>
                        </li>
                    </ul>
                </li>
            </ul>
            <li>
            <ul class='ddsubmenustyle' id='ddsubmenu4'>
        <li>
            <a href='http://samjustun.blogspot.com/2012/07/revolutions-of-chin-people.html'>Chin Revolutions</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/2012/07/pre-colony-period-anglo-chin-war-1800.html'>Chin History</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/p/chinland.html'>Photos</a>
        </li>
        <li>   
     <a href='http://samjustun.blogspot.com/2012/07/chins-geography.html'>Geography</a>
    </li>
        <li>   
     <a href='http://samjustun.blogspot.com/2012/07/my-personal-chin-national-day-message.html'>Chin Nationl Day</a>
            <ul>
                <li>
                    <a href='http://samjustun.blogspot.com/2012/10/chin-cultural-profile.html'>Chin Cultural</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 3.2</a>
                </li>
                <li>
                    <a href='#'>LINK3 ITEM 3.3</a>
                </li>
                <li>
                    <a href='#'>LINK3ITEM 3.4</a>
                </li>
            </ul>
        </li>
        <li>    
    </li></ul>           
    
        <ul class='ddsubmenustyle' id='ddsubmenu5'>
        <li>
            <a href='http://samjustun.blogspot.com/2012/07/i-love-you-in-different-languages.html'>Different languages</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/p/learn-burmese-words.html'>Learn Burmese Words</a>
        </li>
        <li>
            <a href='#'>LINK5  ITEM 3</a>
        </li>
        <li>
            <a href='#'>LINK5  ITEM 4</a>
        </li>
        <li>
    </li>
    </ul>
    <ul class='ddsubmenustyle' id='ddsubmenu6'>
        <li>
            <a href='http://samjustun.blogspot.com/p/blog-teach-zone.html'>Blog Teach Zone</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/search/label/Google%2F%20Gmail'>Google/ Gmail</a>
        </li>
        <li>
    <a href='http://samjustun.blogspot.com/p/pc.html'>Computer</a>
                </li>
                <li>
            <a href='http://samjustun.blogspot.com/p/teach-zone-myanmar.html'>Computer Myanmar</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/search/label/Facebook'>Facebook</a>
        </li>
        <li>
            
            <a href='#'>LINK6  ITEM 5</a>
            <ul>
                <li>
                    <a href='#'>LINK6  ITEM 5.1</a>
                </li>
                <li>
                    <a href='#'>LINK6   ITEM 5.2</a>
                    <ul>
                        <li>
                            <a href='#'>LINK6  ITEM 5.2 1</a>
                        </li>
                        <li>
                            <a href='#'>LINK6  ITEM 5.2 2</a>
                        </li>
                        <li>
                            <a href='#'>LINK6  ITEM 5.2 3</a>
                        </li>
                    </ul>
                </li>
            </ul>
    </li>
    </ul>
    <ul class='ddsubmenustyle' id='ddsubmenu7'>
        <li>
       <li>
            <a href='http://samjustun.blogspot.com/p/glitter-graphics.html'>Glitter Graphics</a>
        </li>
        <li>
            <a href='*'> </a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/p/chinland.html'>Chinland</a>
        </li>
        <li>
            <a href='http://samjustun.blogspot.com/2012/07/world-refugee-day-celebrations-in-kl.html'>World Refugee Day</a>
        </li>
        <li>
            
            <a href='http://samjustun.blogspot.com/p/blog-page_2030.html'>Myanmar/ Model Girls</a>
            <ul>
                <li>
                    <a href='#'>LINK7  ITEM 5</a>
                </li>
                <li>
                    <a href='http://samjustun.blogspot.com/2012/10/photo-slideshow.html'>Sam's SlideShow</a>
                    <ul>
                        <li>
                            <a href='#'>LINK7  ITEM 5.2 1</a>
                        </li>
                        <li>
                            <a href='#'>LINK7 ITEM 5.2 2</a>
                        </li>
                        <li>
                            <a href='http://samjustun.blogspot.com/p/cool-samjustun.html'>Samjustun</a>
                        </li>
                    </ul>
                </li>
            </ul></li></li></ul></li> 


    How To Customize It?

    • Here normal ul and li rules are applied
    • To change background simply change background: #414141;
    • Replace every # with your own link
    • To create a drop down menu inside a Main Menu link simple add to it a rel attribute likerel="ddsubmenu1 Change the drop down number accordingly.

    Use HTML Editor?


    I highly recommend you to use the HTML Editor as you can edit and see live demo of your menu inHTML Editor.

    Further Help?


    Many newbies bloggers gets the problem while adding links and texts.If you are getting the same problem then simply provide a tree menu of your menu,I will build the HTML part for you.Also feel free to ask your any little query...
    Comments
    0 Comments

    No comments:

    Post a Comment

    Thanks For writing a comment on my blog.

    ဒိမွာ member လုပ္ရင္ Join this Site ကုိနွိက္ၿပိး Email ႏွင့္ယင္ပါ