Skip to main content

Pre-made navigation bar with second sub-menu drop-down functionality



view_tree_modernistClick here to see the demo



Step 1: From the Dashboard, navigate to Layout > Edit HTML (you don’t have to click on expand widgets template), and locate this section code: ]]></b:skin>

Step 2: Add the section code below right after it:

<link href=’slanteddividermenu/ddlevelsmenu-base.css' rel='stylesheet' type='text/css'/>
<link href=’ddlevelsmenu-topbar.css' rel='stylesheet' type='text/css'/>
<link href='ddlevelsmenu-sidebar.css' rel='stylesheet' type='text/css'/>

<script src='ddlevelsmenu.js' type='text/javascript'>

* All Levels Navigational Menu- (c) Dynamic Drive DHTML
* Visit Dynamic Drive at for full source code


Note: The code above references the external .js and .css file, which you need to download below (right click/ select “Save As”)

Step 3: Save your template and navigate to Layout > Page Elements to Add a Gadget > HTML/JavaScript.


Step 4: Copy and paste the section code below in the box and select Save.

<div id="ddtopmenubar" class="slantedmenu">
<li><a href="">Home</a></li>
<li><a href="">DHTML</a></li>
<li><a href="" rel="ddsubmenu2">CSS</a></li>
<li><a href="">Forums</a></li>
<li><a href="" rel="ddsubmenu3">Web Tools</a></li>

<script type="text/javascript">
ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar")

<!--HTML for the Drop Down Menus associated with Top Menu Bar-->
<!--They should be inserted OUTSIDE any element other than the BODY tag itself-->
<!--A good location would be the end of the page (right above "</BODY>")-->

<!--Top Drop Down Menu 1 HTML-->

<ul id="ddsubmenu1" class="ddsubmenustyle">
<li><a href="#">Item 1a</a></li>
<li><a href="#">Item 2a</a></li>
<li><a href="#">Item Folder 3a</a>
  <li><a href="#">Sub Item 3.1a</a></li>
  <li><a href="#">Sub Item 3.2a</a></li>
  <li><a href="#">Sub Item 3.3a</a></li>
  <li><a href="#">Sub Item 3.4a</a></li>
<li><a href="#">Item 4a</a></li>
<li><a href="#">Item Folder 5a</a>
  <li><a href="#">Sub Item 5.1a</a></li>
  <li><a href="#">Item Folder 5.2a</a>
    <li><a href="#">Sub Item 5.2.1a</a></li>
    <li><a href="#">Sub Item 5.2.2a</a></li>
    <li><a href="#">Sub Item 5.2.3a</a></li>
    <li><a href="#">Sub Item 5.2.4a</a></li>
<li><a href="#">Item 6a</a></li>

<!--Top Drop Down Menu 2 HTML-->

<ul id="ddsubmenu2" class="ddsubmenustyle">
<li><a href="#">Item 1b</a></li>
<li><a href="#">Item 2b</a></li>
<li><a href="#">Item Folder 3b</a>
  <li><a href="#">Sub Item 3.1b</a></li>
  <li><a href="#">Sub Item 3.2b</a></li>
  <li><a href="#">Sub Item 3.3b</a></li>
  <li><a href="#">Sub Item 3.4b</a></li>
<li><a href="#">Item 4b</a></li>
<li><a href="#">Item Folder 5b</a>
  <li><a href="#">Sub Item 5.1b</a></li>
  <li><a href="#">Item Folder 5.2b</a>
    <li><a href="#">Sub Item 5.2.1b</a></li>
    <li><a href="#">Sub Item 5.2.2b</a></li>
    <li><a href="#">Sub Item 5.2.3b</a></li>
<li><a href="#">Item 6b</a></li>

<!--Top Drop Down Menu 3 HTML-->

<ul id="ddsubmenu3" class="ddsubmenustyle">
<li><a href=>blogspotvision</a></li>
<li><a href="">blogspotvision</a></li>
<li><a href="">blogspotvision</a></li>
<li><a href="">blogspotvision</a></li>
<li><a href="">blogspotvision</a></li>

Note: Modify the links and Preview your template.


*Tutorial completed


Popular posts from this blog

How to add a calendar icon as date header

From this tutorial, you will be able to add your very own calendar icon to your blogger! If you’re going to show the date on every post, why not do it with a little style and make it a little more appealing to viewers? If you want your calendar icon to appear on every post, read Blogspot Vision’s post on how to do that by clicking here to go to the post. Let’s get started but first and foremost, make sure you back-up your existing template, just in case it doesn’t turn out as expected. Steps to follow:1. Login to your Blogger dashboard2. Go to Layout > Edit HTML (Click on “expand widgets” box)3. Search for the following section code: ]]></b:skin>
and add the following section code below right before .date {
    height: 50px;
    width: 45px;
    background: url( no-repeat;
    font: normal 22px Arial;
    color: #666666;
    text-align: center;

CSS DIV boxes with drop shadows

This example shows how to add a drop shadow style to any container element using CSS. It does this by wrapping the desired content in a DIV with its background color set to a color of the desired color for the shadow. Another DIV is set for your content and is shifted slightly upwards and to the left to expose the shadow. The "master" DIV wraps it all up but is shifted to the right and downwards, returning the entire markup to it's original page position.

IE6 is not compatible with this example, but you can apply conditional HTML to hide the effect in that browser. In contrast, IE7 is compatible with this example for finally updating to proper CSS.

Note: If you will be using an image for your content, you should give ".shadowcontainer" an explicit height, reflecting that of the image's for fixed and set location when viewed.

CSS Code
<![if !IE 6]>
position: relative;
left: 5px; /*Number should match -left shadow depth below*/
top: 5px;…

How To Show The Post Date On Every Post

From this tutorial, you will be able to show the post date on every last one of your posts. As we all know, Blogger’s default templates only show a single date for every post that was posted that day. Some readers will find it convenient to have that quick glance at the date on each post, but some will not even notice. This tutorial is definitely handy if you plan to use a calendar icon as your post date, since the timestamp can be modified. As always, make sure you download your current existing template just in case it doesn’t turn out as expected.

Steps to follow:
1.Login to your Blogger dashboard.
2. Go to Layout > Edit HTML (click on “expand widgets” box)
3. Now search for the red line of code or similar code:Note: If you can’t seem to find the line in red, try the second section code in blue.<div class='post-feeds'>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'>