How To Make The Navigation Menu Bar On Blogspot (II)
>> Sunday, January 31, 2010
In How To Make The Navigation Menu Bar on Blogspot (I) we have discuss how to make the navigation links menu with simple HTML script. In this article we will learn how to make it more attractive with CSS.
To do so, besides displaying the menu links with the facilities of HTML/JavaScript Widget, first we must declare the CSS code for these links to set the appereance, than put this CSS in our HTML Template.
1. Simple Navigation Bar Menu.
Besides as we did in How To Make The Navigation Menu Bar on Blogspot (I) , we can create a simple navigation bar menu in the way below, although a bit busy because we have to declared the CSS Code first, but we can easily set the appereance later.
In your HTML Template (Dashboard > Layout > Edit HTML) insert this CSS between <head>...</head>, I suggest to put in under /*Header*/ or ]]></b:skin> to make it easy to remember.
#navbarmenu ul li{You can set the font size larger or smaller, you can also set the padding and the margin to set the space in between the word. If you want add a border around the word then you can set the border value at least 1 px. Don't forget to click Save Template.
font-size:100%;
list-style-type: none;
display:inline;
padding:0px;
margin:10px;
border:0px solid;
}
The next step is create the menu links list (as we did in How To Make The Navigation Menu Bar on Blogspot (I) but in a LIST form).
On your Dashboard > Layout > Page Elements, and click Add a Gadget on Header. and choose to add HTML/JavaScript.
<div id='navbarmenu'>
<ul>
<li><a href="URL of Your Home page">Home</a></li>
<li><a href="URL of Your Music page">Music</a></li>
<li><a href="URL of Your Books page">Books</a></li>
<li><a href="URL of Your Video page">Video</a></li>
<li><a href="URL of Your Profile page">About Me</a></li>
<li><a href="mailto:YOUR EMAIL ADDRESS">Contact</a></li>
</ul></div>
<a href="doit2us.blogspot.com">Home</a>
<a href="http://www.blogger.com/profile/07471629071890951823">About Me</a>
<a href="mailto:mc4tur@gmail.com">Contact</a>
a.newnavbar1{background:#333399;
font-size:100%;
list-style-type: none;
display:inline;
padding:3px;
color:#ffffff;
border:0px solid;
}
a.newnavbar2{
font-size:100%;
list-style-type: none;
display:inline;
background:#ff0000;
padding:3px;
color:#ffffff;
border:0px solid;
}
a.newnavbar3{
font-size:100%;
list-style-type: none;
display:inline;
background:#339966;
padding:3px;
color:#ffffff;
border:0px solid;
}
a.newnavbar4{
font-size:100%;
list-style-type: none;
display:inline;
background:#ff6600;
padding:3px;
color:#ffffff;
border:0px solid;
}
a.newnavbar5{And in the Column Content Configure HTML/JavaScript we make a modification by add script class="newnavbar1" for the first link (eg Home), Please match with the link you created.
font-size:100%;
list-style-type: none;
display:inline;
background:#cc99ff;
padding:3px;
color:#ffffff;
border:0px solid;
}
And in accordance with the setting in the CSS, then we should also write the link one by one just like in the simple HTML Links How To Make The Navigation Menu Bar on Blogspot (I)
<a href="URL of Your Home page" class="newnavbar1">Home</a>To make it more attractive, you can add a visited link and hover effect, for that you must add the following script below your CSS.
<a href="URL of Your Music page" class="newnavbar2">Music</a>
<a href="URL of Your Video page" class="newnavbar3">Video</a>
<a href="URL of Your Profile page" class="newnavbar4">About Me</a>
<a href="mailto:YOUR EMAIL ADDRESS" class="newnavbar5">Contact</a>
a.newnavbar1:hover, a.newnavbar2:hover, a.newnavbar3:hover, a.newnavbar4:hover, a.newnavbar5:hover {Click Save and try to view your colourful link..
background:#41a317;
color:#ffffff;
}
a.newnavbar1:visited, a.newnavbar2:visited, a.newnavbar3:visited, a.newnavbar4:visited, a.newnavbar5:visited {
color:#57e964;
}
Some people tend to choose a simple display. If you want to display your menu navigation bar background in one color only or even the same color with your background page, then you can use the CSS code in a list form like in the no. 1 above.
Here is an example of CSS script if we use the same background and just add a visited and hover effects.
#navbarmenu ul li{And we use the same step and the same HTML/JavaScript as in no.1. Simple Navigation Bar Menu.
font-size:100%;
list-style-type: none;
display:inline;
padding:0px;
margin:10px;
border:0px solid;
}
#navbarmenu li a{
color:#dfffed;
}
#navbarmenu li a:visited {
color: #57E964;
}
#newnavbar li a:hover {
color: #F88017;
background: #ffff66;
}





34 comments:
Thank you very much for your post. I will definitely implement on my blog.
Very nice description. I am very much stuck with the navigation bar building in my blog. I need your help. Do you have gtalk id so that I can clear my doubt about this.
Good tutor. I am going to implement this on my blog. Thanks
Hi, thanks for great post but i don't get this :( well i created navbar but don't know how to add links there.I chosed www.myblog.com for HOME but what about other tab links? I created www.myblog.com/contact.html for CONTACT but when i'm clicking then showing page not found :/ what should i do? please help.
Hi John..
I've been already checked your ../contact.html page and I am brought back into your main/home page. I do not know if you are asking this seriously, because it looks like "domain parking web" for me. Whatever it is, I think everything looks right.. unless if your contact link page that you want is not your "main/home page", then you must check your "contact link page" addres again for sure or you can simply put your email addres in the navigation bar (....mailto:YOUR E-MAIL ADDRES....as explained above).
Hope the best for you...
@http://www.searchreversephonenumber.com/ and http://www.propanehose.net/... Thanks hope works for you.
@http://social-network-design.com/... would seem better if we discuss your problems here (as John was), so there is the possibility of feedback from visitors other than me/mine..
Thanks.
Thanks for your kind information. I will apply this in my site.
I found your blog dofollow. But the comment links show that your blog is nofollow. Why is this?
Good tips. Thanks for your share. I will definitely do this with my blog.
Hello is your blog dofollow or nofollow. I am little bit confused?
@Compare Mortgages and Hotel Travel..
My blog is dofollow, I've done a little fixed on it.. Thanks..
Thank you very much friend. I was looking for this for a long time. But no one given me a good and nice answer like this.
Thank you very much for your share. I am going to implement this on my blog.
Good tutorial. I love this. Thanks for making this blog dofollow
Good tips. Thanks for your share. I will definitely do this with my blog.
I found your blog dofollow. But the comment links show that your blog is nofollow. Why is this?wholesale 3g cell phone
Super-Duper site! I am loving it!! Will come back again - taking you feeds also, Thanks.
I am very much stuck with the navigation bar building in my blog. I need your help. Do you have gtalk id so that I can clear my doubt about this.iPad Developer Custom Software Development Mobile Application Development iPhone Application Development iPhone Games Development
your post about how to make navigation menu bar in your blogger is really helpful, thanks for your share. I will definitely implement this with my blog.
This is a nice article..
Its very easy to understand ..
And this article is using to learn something about it..
asp.net, c#, javascript
Thanks a lot..!
You have a very impressive ideas here, it's a very useful one, I could use this in the near future. Thanks for sharing this to us.
Keep up the excellent work!
I had logged onto this site very recently and found it to be very useful and informative. Each and every concept was well presented. Thanks a lot for the information.
Marketing Plan
I am so happy to know it..
Your post really helps me to work easily.
Thanks for helping me explore more about blogging. Video Marketing | App Marketing
I have a few additional questions. I got my horizontal Navigation Bar up on my blog, but how do I link the tabs to my labels?
You have shared nice stuff. This is my first time I visit here. I found so many interesting in your blog especially its discussion. Keep your blog updating and good luck!
Interface Talent not an Agency
I am a newbie and your success is very much an inspiration for me.
Generally, the usefulness and importance makes my head spin. Greatly thanks again as well as all the best as well as maintain the great operate!
roller backpacks for girls
We are publishing the following just to let you know that what you are doing a fantastic job by maintaining all of us posted relating to this. Make sure you keep on putting up this sort of top quality content articles because this is an uncommon issue to locate currently.
child health plus
Great work you have done by sharing them to all.I found this website is very useful Thanks Domain name registration india
It is very rare these days to find blogs that provide information someone is looking for. I am glad to see that your blog share valued information that can help to many readers. Thanks and keep writing.
Post a Comment