Blogger Themes

Wednesday, 21 September 2011

>The best way to classify your posts than paging

>Hello everyone most of us classify our blog as pages which are already provided by blogger

But

may be



This is more better nah ?

Here are the steps

Login into Blogger>Edit Html

Find ]]></b:skin>

Paste the Below code just before that





/* Start Vertical Menu From www.techtasks.blogspot.com */

#pad {height:100px;}
/* ================================================================
The original version of this stylesheet and the associated (x)html
is available at http://www.csshmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */
#hmenu {padding:0; margin:0; list-style:none; height:30px; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#hmenu li {float:left; margin-right:1px;}
#hmenu li a {display:block; float:left; height:30px; line-height:30px; background:#333; color:#ccc; text-decoration:none; font-size:11px; font-weight:bold;

padding:0 25px 0 10px;}


#hmenu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#hmenu li a:hover {z-index:200; position:relative;color:#fff; background-color:#c60;}
#hmenu li:hover {position:relative; z-index:200;}

#hmenu li:hover > a {
color:#fff;/* Menu Font Color */
background:#840; /* Menu mouse over Color */
}

#hmenu li:hover > a.sub {
color:#fff; /* Drop down item mouse over font Color */
background-color:#840; /* Drop down item mouse over background Color */
}
*/
#hmenu li.current a {color:#fff; background:#840;}


#hmenu li a.sub {
background: #333 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiokzPhlKS5dKQqsJwkxO8oJHh3zKSXeD7pYKsjjYoERsyuIHPL53bB2tM3BVeFoNnn-MP5RMOqA346uReQVBgOkeTUsT7O3oZSllufXjg89Jl1JAW0mewqAJodPql36EQytPsrPijZnXM/) /* Down arrow image */
no-repeat right center;
}

#hmenu :hover ul {left:0; top:30px; width:120px; background:#444;}

/* keep the 'next' level invisible by placing it off screen. */
#hmenu ul,
#hmenu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#hmenu :hover ul :hover ul
{left:120px; top:-1px; background:#222; white-space:nowrap; width:100px; z-index:200; height:auto;}

#hmenu :hover ul li {margin:0; border-top:1px solid #666;}
#hmenu :hover ul li a {
width:120px; /* Width of sub menu item */
padding:0; text-indent:10px;
background:#333; /* Drop down background color */
color:#ccc; /* Drop down item font Color */
height:30px; line-height:30px;}
#hmenu :hover ul li a.fly {background:#333 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6wG8hVDBd0fQFoavnl2DdqL80UgZwXUj6TigBfdvE7G3VKqBfRRblEhdYsCMw_dPQH9mMG1oigQRUWkpYrJB0sCYxxVuZ4uiy76FNp-vTwglNHaFkBiZJkX3H8ADHBFjNW1ykaCytK_I/) no-repeat right
center;}

#hmenu :hover ul :hover {background-color:#c60; color:#fff;}
#hmenu :hover ul :hover a.fly {background-color:#c60; color:#fff;}

#hmenu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#333; /* Dropdown Sub Menu background color */
color:#ccc; /* Dropdown Sub Menu font color */
}
#hmenu :hover ul :hover ul :hover {
background-color:#c60; /* Dropdown Sub Menu mouse over color */
color:#fff;/* Dropdown Sub Menu mouse over font color */
}

/* End Vertical Menu From www.techtasks.blogspot.com */








Go to >page elements

Then find the place where u want to add the menu...

Add Gadget>select HTML/Javascript>

Paste the following code in the content box.





 


<ul id="hmenu">

<li><a href="Home"><b>Home</b></a></li>

<li><a href="About Us"><b>About Us</b></a></li>

 

<li><a href="#"><b>Dropdown</b><!--[if gte IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->

<ul>

<li><a href="#url">Dropdown one<!--[if gte IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->

<ul>

<li><a href="#url">Dropdown 1.1</a></li>

<li><a href="#url">Dropdown 1.2</a></li>

<li><a href="#url">Dropdown 1.3</a></li>

<li><a href="#url">Dropdown 1.4</a></li>

<li><a href="#url">Dropdown 1.5</a></li>

<li><a href="#url">Dropdown 1.6</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>

 

<li><a href="#url">Dropdown two<!--[if gte IE

 

7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->

<ul>

<li><a href="#url">Dropdown 2.1</a></li>

<li><a href="#url">Dropdown 2.2</a></li>

<li><a href="#url">Dropdown 2.3</a></li>

<li><a href="#url">Dropdown 2.4</a></li>

<li><a href="#url">Dropdown 2.5</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>

 

<li><a href="#url">Dropdown five<!--[if gte IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->

<ul>

<li><a href="#url">Dropdown 5.1</a></li>

<li><a href="#url">Dropdown 2.2</a></li>

<li><a href="#url">Dropdown 3.3</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>

<li><a href="#"><b>Dropdown</b><!--[if gte IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td><![endif]-->

<ul>

<li><a href="#url">Dropdown one</a></li>

<li><a href="#url">Dropdown two</a></li>

<li><a href="#url">Dropdown three</a></li>

<li><a href="#url">Dropdown four</a></li>

<li><a href="#url">Dropdown five</a></li>

<li><a href="#url">Dropdown six</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>

 

<li id="support"><a href="www.techtasks.blogspot.com"><b>Tech Tasks</b></a></li>

</ul>


Change the above code according to your requirement and then,

 

 

Click on save ,That's it.

 

Check the blog




I would like to thank Rajesh Chekuri of techtasks.net for this awesome post
Share on :

0 comments:

Post a Comment

 
© Copyright TechRio 2011 - Some rights reserved | Powered by Blogger.com.
Template Design by Herdiansyah Hamzah | Published by Borneo Templates and Theme4all