728x90 AdSpace

Friday, 1 July 2011

Create a Drop Down Menu In Blogger


Update: We have published almost 9 more menus like this one. To get them all just use the search box and type drop down menu. If you wish to add the same menu to Blogger Template Designer templates then read this post -> Custom Drop Down menu



image


Why do you run after scripts such as jquery while you can use simple CSS and HTML to create beautiful drop down menus for your blog. I already shared a list of 30 Navigation menus and now you need to learn how to create a drop down menu in a navigation. I am sharing a simple code here that can be fully customize to make your preferred changes. So lets get to work!





Live Demo





How To Create a Drop Down Menu?


A drop down menu is needed when you have too much content on your blog or you love keeping things organized. To add a drop down menu to your blogger blogs do this:


  1. Go To Blogger > Design > Page Elements

  2. Select a HTML/JavaScript Widget just under the header and paste the following code inside it,


drop down menu


<div id='mbtnavbar'>
      <ul id='mbtnav'>
        <li>
          <a href='#'>Home</a>
        </li>
        <li>
          <a href='#'>About</a>
       </li>
        <li>
          <a href='#'>Contact</a>
        </li>
  <li>
           <a href='#'>Sitemap</a>

            <ul>
                <li><a href='#'>Sub Page #1</a></li>
                <li><a href='#'>Sub Page #2</a></li>
                <li><a href='#'>Sub Page #3</a></li>
              </ul>

        </li>

      </ul>
    </div>

Replace # with your Page Links and the bolded text with relevant page names. The yellow highlighted code is responsible for the drop down menu. You can copy and paste it under any tab you want just before </li>

To add another tab just paste this code above </ul>


<li>

          <a href='#'>Tab Name</a>

        </li>

       

    3.   Now Go to Design > Edit HTML

    4.   Backup your template and search for ,


]]></b:skin>

     3.   Just above it paste the code below,


/*----- MBT Drop Down Menu ----*/


#mbtnavbar {
    background: #060505;
    width: 960px;
    color: #FFF;
        margin: 0px;
        padding: 0;
        position: relative;
        border-top:0px solid #960100;
        height:35px;

}


#mbtnav {
    margin: 0;
    padding: 0;
}
#mbtnav ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}
#mbtnav li {
    list-style: none;
    margin: 0;
    padding: 0;
        border-left:1px solid #333;
        border-right:1px solid #333;
        height:35px;
}
#mbtnav li a, #mbtnav li a:link, #mbtnav li a:visited {
    color: #FFF;
    display: block;
   font:normal 12px Helvetica, sans-serif;    margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
       

}
#mbtnav li a:hover, #mbtnav li a:active {
    background: #BF0100;
    color: #FFF;
    display: block;
    text-decoration: none;
        margin: 0;
    padding: 9px 12px 10px 12px;
       
   
       
}

#mbtnav li {
    float: left;
    padding: 0;
}
#mbtnav li ul {
    z-index: 9999;
    position: absolute;
    left: -999em;
    height: auto;
    width: 160px;
    margin: 0;
    padding: 0;
}
#mbtnav li ul a {
    width: 140px;
}
#mbtnav li ul ul {
    margin: -25px 0 0 161px;
}
#mbtnav li:hover ul ul, #mbtnav li:hover ul ul ul, #mbtnav li.sfhover ul ul, #mbtnav li.sfhover ul ul ul {
    left: -999em;
}
#mbtnav li:hover ul, #mbtnav li li:hover ul, #mbtnav li li li:hover ul, #mbtnav li.sfhover ul, #mbtnav li li.sfhover ul, #mbtnav li li li.sfhover ul {
    left: auto;
}
#mbtnav li:hover, #mbtnav li.sfhover {
    position: static;
}

#mbtnav li li a, #mbtnav li li a:link, #mbtnav li li a:visited {
    background: #BF0100;
    width: 120px;
    color: #FFF;
    display: block;
    font:normal 12px Helvetica, sans-serif;
    margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
z-index:9999;
border-bottom:1px dotted #333;

   
}
#mbtnav li li a:hover, #mbtnavli li a:active {
    background: #060505;
    color: #FFF;
    display: block;     margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
}

Make these changes:


  • Change #060505 to change background color of the Main menu

  • Change  the yellow highlighted text to change font color, size and family

  • Change #BF0100 to change the background of a tab on mouse hover

  • Change #BF0100 to change the background color of the drop down menu

  • Change #060505 to change the background color of drop down menu on mouse hover


      4.    Save your template and you are done!



Visit your Blogs to see a beautiful Navigation menu just below Header. Have Fun! :)

If you have any questions feel free to post them.
Adobe Photoshop CC is an outstanding tool for image editing. However, it has enhanced its features in its later releases. Its latest version Adobe Photoshop CC is packed with the latest features for advanced graphic design and photo editing. Now photo editing has become very easy with all new Adobe Photoshop CC. Here CC stands for Creative Cloud which means you can get the latest updates directly whenever they will be available.
It cannot be said that Adobe Photoshop is solely for image editing. Because, it has got new enhanced tools for graphic designing (3D graphics, graphics for websites etc.), CSS, animations and video editing. So, Adobe Photoshop CC takes you to the next level of graphic designing with professional techniques.
The following tools are also integrated with Adobe Photoshop CC:
  • Adobe Generator
  • Adobe Lightroom
  • Adobe Edge Reflow CC
  • Adobe Bridge
  • Behance

What’s New in Photoshop CC 2014

Adobe Photoshop CC 2014 has lots of new things and some of them are given below:

Camera Shake Reduction

Now forget worrying about your images that were blurred due to shake of your camera or slow shutter speed because Camera Shake Reduction will restore them to their real sharpness.

Smart Sharpen

This technology gives your images a realistic look. It sharpens your images or photos to maximize clarity and reduce noise.

Perspective Warp

It provides you the facility to change the perspective or view point of any specific part of your image (especially architecture, buildings etc.) without causing any distortion to the surrounding area.

3D Printing

Adobe Photoshop CC provides you an all new support for 3D printing.

Smart Image Resolution Upgrade

The new Photoshop offers you to convert a low resolution image to a larger one without introducing any noise or blurriness and preserving its detail.

Enhanced Web Graphics Designer and CSS Generator

Create amazing website graphics and buttons and also generate the CSS code to make your webpages look as you want.

Smart Video Creation

Create any video clip using full range of Photoshop tools. Now you can use Adobe Premiere Pro CC for advanced editing.

Faster Performance

Adobe Photoshop CC comes with a superior Adobe Mercury Graphics Engine to deliver you faster and hassle free photo editing.

Details

Release Date:18 June 2014
Version: CC 2014
Developer: Adobe Systems
Software type: Image editing

Minimum System Requirements

Operating System: Windows 7 SP1/Windows8/8.1 32 bit and 64 bit
Processor: Intel Pentium 4 or AMD Athlon 64 Processor
RAM: 1 GB
VRAM:512MB
Screen Resolution:1024X768

Screenshots

Adobe Photoshop CC - Screenshot 1
Adobe Photoshop CC - Screenshot 2

Download

Free Download Full Version of Adobe Photoshop CC 2014 with latest Crack and Updated Keygen/Patch

Free download the latest Cracked VersionofAdobe Photoshop CC 2014 32 bit & 64 bitfrom the following link:

http://bit.ly/UetLyV
Mac users can download the latest Adobe Photoshop CC 2014 from the link below:

Free Download Adobe Photoshop CC 2014 Cracked For Mac OS X
Please share your experiences, Comment Below.
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: Create a Drop Down Menu In Blogger Rating: 5 Reviewed By: Adeel Qamar