Don't Miss

jQuery Sliding Menu is actually a type of navigation menu for blogger. It expands sliding from top on clicking the Open Menu button and on pressing the Hide Me button it collapses. If your blog has no space for adding subscribe buttons and email subscription form, then don't worry this menu is going to fulfill all your needs.

If you're tired of using those simple Drop Down menus then this menu will give your blog a new professional look by its simple, clean and professional design. This menu consists of four different portions, the first one is for Author Bio, the 2nd contains a simple Search Box, the next one is Categories where you can add all your Blog Categories and the 4th portion contains an Email subscription box and social media buttons. In this tutorial we'll show you that How to Create a jQuery Sliding Menu with Expand/Collapse Function in Blogger.
jQuery Sliding Menu Expand/Collapse Function Blogger

Create a jQuery Sliding Panel Menu in Blogger

First and foremost, log in to your Blogger Account >> Select a Blog >> Template >> click Edit HTML and Search for the </head> tag. Now copy the below CSS code and paste it just above/before it

<style>
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}
.clearfix {height: 1%;}
.clearfix {display: block;}

.tab {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYGhAmhmMnUcVWzFRhRPIVHKzaUKlsev4C7uX-K7yp_l_E65N_cXkuiHDtjm_wKSU7zYzqE93ozM57vPS4f1gwdex_meUBt7XjCzL3adQMDxMceP7aGGeaudaHBhG5fd_fodQqPNl8GhU5/s1600/sliding-panel-tab-0.png) repeat-x 0 0;
height: 42px;
position: relative;
top: 0;
z-index: 999;
}
.tab ul.login {
display: block;
position: relative;
float: right;
clear: right;
height: 42px;
width: auto;
font-weight: bold;
line-height: 42px;
margin: 0;
right: 150px;
color: white;
font-size: 80%;
text-align: center;
}
.tab ul.login li.left {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgSo10ax4RSVgz6M8s272rDIO8mDFoXf7D6Y2Jh78cbKykY01tvK4lJQPbyP_bY2NwMv6NRwLeGl5CxErLW8aXqqiQ7oROkvSq_iaavUJOccqOJM0ExASBds10MVTUdOrdb0E7Ar_B6EW7/s1600/sliding-panel-tab-left.png) no-repeat left 0;
height: 42px;
width: 30px;
padding: 0;
margin: 0;
display: block;
float: left;
}
.tab ul.login li.right {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGRxDCTRS3vf9Fxg0Wt0yVsYE03XbI1NvIz5ixXoruy_oe0zb-X9To4syDuXgJRR15MsFj7kPK80GOc6f6zqIzDOXxnM2sJu3LCbeFyp7IIStyD26YHg01WBc3Lpq9kv5TrAkGZQtNBmKF/s1600/sliding-panel-tab-right.png) no-repeat left 0;
height: 42px;
width: 30px;
padding: 0;
margin: 0;
display: block;
float: left;
}
.tab ul.login li {
text-align: left;
padding: 0 6px;
display: block;
float: left;
height: 42px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLz8b-Sbipge-tUJVgxpbT31GBP0wEB5GjtLz5L3X716q2NnlsLzXy_nlP07Kjb9IG1B1IxIfK6g5y_VHzDRzKqTHuufLbVZ7ohFWKOzgjz13VWhZvJMybWNDuJaqeIyOakI1hUYq7JBF7/s1600/sliding-panel-tab.png) repeat-x 0 0;
}

.tab ul.login li a {color: #15ADFF;}
.tab ul.login li a:hover {color: #FFFFFF;}
.tab .sep {color:#414141}

.tab a.open, .tab a.close {
height: 20px;
line-height: 20px !important;
padding-left: 30px !important;
cursor: pointer;
display: block;
width: 100px;
position: relative;
top: 11px;
}

.tab a.open {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimnkUlP5xDO9o669ixFrF-AAXDwvyTuJyxtoPVXoiYEUEpK0kg846UZXU4ckjtFOCIgaNebW2MZn2gEICFEUQPUoVyZOOvOhtRnM05anrirjuN6NazIlKxvBLcgGcGPO8EOf6FqIAIlG8A/s1600/button-open.png) no-repeat left 0;}
.tab a.close {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIM8ronLQLlS6JXl_nviTAghBeJpD3-hoA1edipw5BosB4XKddXel7k2yypqGSdYsv8Xfm97sb7nsAAxEX5oofVE3o6rpf4hz0RkcH6igL4GfuPLpxs8tvMlfCIiKtB5BTWlM5G_JOH5Vs/s1600/button-close.png) no-repeat left 0;}
.tab a:hover.open {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimnkUlP5xDO9o669ixFrF-AAXDwvyTuJyxtoPVXoiYEUEpK0kg846UZXU4ckjtFOCIgaNebW2MZn2gEICFEUQPUoVyZOOvOhtRnM05anrirjuN6NazIlKxvBLcgGcGPO8EOf6FqIAIlG8A/s1600/button-open.png) no-repeat left -19px;}
.tab a:hover.close {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIM8ronLQLlS6JXl_nviTAghBeJpD3-hoA1edipw5BosB4XKddXel7k2yypqGSdYsv8Xfm97sb7nsAAxEX5oofVE3o6rpf4hz0RkcH6igL4GfuPLpxs8tvMlfCIiKtB5BTWlM5G_JOH5Vs/s1600/button-close.png) no-repeat left -19px;}

#slide-top-panel {
position: absolute;
top: 0;
width: 100%;
z-index: 999;
text-align: center;
margin-left: auto;
margin-right: auto;
}
#panel {
width: 100%;
height: 230px;
color: #999999;
background: #272727;
overflow: hidden;
position: relative;
z-index: 3;
display: none;
}
#panel h4 {
font-size: 18px;
color: #F2F2F2;
text-align: center;
padding: 5px 0 10px;
margin: 0;
}
#panel p {
margin: 5px 0;
padding: 0px;
}
#panel a {
text-decoration: none;
color: #15ADFF;
}
#panel a:hover {
color: white;
}
#panel .content {
width: 960px;
margin: 0 auto;
padding-top: 15px;
text-align: left;
font-size: 0.85em;
}
#panel .content .left {
width: 280px;
float: left;
padding: 0 15px;
border-left: 1px solid #333;
}
#panel .content .right {
border-right: 1px solid #333;
}
#panel .content form {
margin: 0 0 10px 0;
}
#panel .content label {
float: left;
padding-top: 8px;
clear: both;
width: 280px;
display: block;
}
#panel .content input.field {
border: 1px #1A1A1A solid;
background: #545454;
border-radius: 10px;
margin-right: 5px;
margin-top: 4px;
width: 200px;
color: white;
height: 18px;
}
#panel .content input:focus.field {
background: #7F7F7F;
}
#panel .content input.button-register {
display: block;
clear: both;
height: 24px;
width: 94px;
color: white;
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH1Ose_LQyFgbnUrY96rtP5t1vy0DNIegx3lqDChKSwJcvctTkbVbP6X0jyoBvxgF6okALFydf5Dirj8g9aEJdZ6cpwPWp6KMtciYOrEjx4xBDUIBblj_SmoOMEzF6q9wNhP6KtBt4UqH2/s1600/button-register.png) no-repeat 0 0;
text-align: center;
cursor: pointer;
border: none;
font-weight: bold;
margin: 10px auto;
}
#sliding-panel {
width: 160px;
float: left;
}
#sliding-panel2 {
width: 160px;
float: right;
}
#sliding-panel ul, #sliding-panel2 ul{
font-family: Arial, Helvetica, sans-serif;
list-style-type:none;
margin:0;
padding:0;
}
#sliding-panel ul li a, #sliding-panel2 ul li a {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBxBtMVwGjWwcBXS7mlSv_yTBRkKO7Eg-wLXGILNc8SGiH2_SgXWsGx7tXPVnjZfsvPuuwxfllUivlEKLu4OuzUr4NF9cJDG7SWcUVxOOYg1MquhhNOsT-5tA-xAx1Hb3nnqtLAsXgPFfw/s1600/star-bullet.png) center left no-repeat;
margin:0;
padding:3px 3px 3px 18px;
}
#sliding-panel li, #sliding-panel2 li {
display: inline;
}
#sliding-panel a, #sliding-panel2 a{
color: #999999;
text-decoration: none;
font-size: 11px;
display: block;
padding: 3px;
width: 160px;
}
#sliding-panel a:link, #sliding-panel a:visited, #sliding-panel2 a:link, #sliding-panel2 a:visited {
color: #999999;
text-decoration: none;
}
#sliding-panel a:hover, #sliding-panel2 a:hover {
color: #FFFFFF;
}

#search-box22{
margin-top: 20px;
}

#search-box22 input[type="text"] {
float: right;
background: 10px 6px #444;
border: 0 none;
font: bold 12px Arial,Helvetica,Sans-serif;
color: #777;
width: 160px;
padding: 6px 15px 6px 35px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
-webkit-transition: all 0.7s ease 0s;
-moz-transition: all 0.7s ease 0s;
-o-transition: all 0.7s ease 0s;
transition: all 0.7s ease 0s;
}

#search-box22 input[type="text"]:focus {
width: 190px;
}

.about-author {
width: 100%;
text-transform: none;
margin-top: 15px;
}
.authorbox {
overflow: hidden;
padding: 0;
width: 100%;
}
.authorbox .authorinfo {
}
.authorbox .authorinfo img {
float: left;
margin: 4px 10px 4px 5px;
border-radius: 100%;
width: 20%;
background: #222;
padding: 5px;
}
.authorbox .authorinfo p {
margin: 0;
padding: 0 5px;
text-align: left;
}
.authorinfo p a {
text-decoration:none;
}
.authorbox h3 {
margin: 0;
display: inline-block;
}
h3.boxtitle {
font-size: 14px;
}
</style>

Important: The height of the panel can be modified by changing the value in height: 230px;
Now search for the <head> tag, copy the below code and paste it just below/after it

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>
$(document).ready(function() {

$(&quot;#open&quot;).click(function(){
$(&quot;div#panel&quot;).slideDown(&quot;slow&quot;);
});

$(&quot;#close&quot;).click(function(){
$(&quot;div#panel&quot;).slideUp(&quot;slow&quot;);
});

$(&quot;#toggle a&quot;).click(function () {
$(&quot;#toggle a&quot;).toggle();
});

});</script>

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<style>
body#layout #slide-top-panel {display:none !important;}
</style>
</b:if>

Finally, search for the <body> tag and add the below code just below/after it

 <!-- Start sliding panel -->
<div id='slide-top-panel'>
<div id='panel'>
<div class='content clearfix'>

<!-- first section -->
<div class='left' style='width:240px !important'>

<h4>Welcome to Your Blog Name</h4>
<div class='about-author'>
<div class='authorbox'>
  <div class='authorinfo'>
<img src='URL-OF-YOUR-PROFILE-PICTURE'/>
<h3 class='boxtitle'>Meet the Author</h3>
<p>Write author bio here.</p>
</div>
</div>
</div>
<p align="right" style="margin-top: 10px;">Search Here</p>
<form method="get" action="/search" id="search-box22">
  <input name="q" type="text" size="40" placeholder="Search..." />
</form>

</div>

<!-- second section -->
<div class='left' style='width:320px !important'>
<h4>Categories</h4>

<div id='sliding-panel'>
<ul>
<li><a href='#'>Category 1</a></li>
<li><a href='#'>Category 2</a></li>
<li><a href='#'>Category 3</a></li>
<li><a href='#'>Category 4</a></li>
<li><a href='#'>Category 5</a></li>
<li><a href='#'>Category 6</a></li>
<li><a href='#'>Category 7</a></li>
</ul>
</div>

<div id='sliding-panel2'>
<ul>
<li><a href='#'>Category 1</a></li>
<li><a href='#'>Category 2</a></li>
<li><a href='#'>Category 3</a></li>
<li><a href='#'>Category 4</a></li>
<li><a href='#'>Category 5</a></li>
<li><a href='#'>Category 6</a></li>
<li><a href='#'>Category 7</a></li>
</ul>
</div>
</div>

<!-- third section -->
<div class='left right' align="center">

<h4>Subscribe to this blog!</h4>
<p style="padding:0px 30px;">Want To Get Hot Updates Directly to your Inbox? Enter your Email below!</p>

<form action='http://feedburner.google.com/fb/a/mailverify?uri=YOUR-FEED-NAME' method='post' target='_blank'>
<input class='field' name='email' type='text/' value=''/>
<input name='uri' type='hidden' value='YOUR-FEED-NAME'/>
<input name='lang' type='hidden' value='en_EN'/>
<input class='button-register' type='submit' value='Subscribe'/></form>

<div align='center' style="clear: both;">
<a href='http://www.facebook.com/username'><img title="Follow on Facebook" src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrhYbVmoQK_N8Fkw0bZgdzII9e6IQYa5z7OTSu58E6OWG2QOeH6dGCx1aUJ16lpqgNsraPHN-ko7sWuriIWa95DfX_CWUd4pm6Q6SBljJg1OoFMVwnUYFfLsl7EtordDO68T-dQptpmh9N/s1600/Facebook.png' style='padding:5px;' width='32'/></a>
<a href='http://your-blog-address.blogspot.com/atom.xml'><img title="RSS Feed" src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8lW8n7u3Eqkm4yKRHQAaOwXzsD239GL-3C4__MsO14813dWrC5sYHjm_1epJxcAEKYRZh2pmoBEVZFbUAuV8l7ORcM4vdW1V5p9-pFNPk-YtZyDsvK3IZm8kzEeqo7MRgYXZvKTHdENmY/s1600/RSS.png' style='padding:5px;' width='32'/></a>
<a href='https://plus.google.com/username'><img title="Follow on Google" src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlTduqtIU5oPV5Qce5RhkOp10_lNbMvsonGr8dKLAXay5GTQyo8-nK4C6WDeRGDTeaztY2ldU0DUZKOvRfUe3F1FpRmbUR-9y0ZWK3jxtuUwTdr3Uq7vcS13AmH5LBSqaXbKPbYs9AjFxq/s1600/Google-plus.png' style='padding:5px;' width='32'/></a>
<a href='http://twitter.com/username'><img title="Follow on Twitter" src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKv2yEd2iN9ZGdayQ5Ob-9ifHjDOtnj7M1V-U9DXXyShEqBIfq6a-zyt9bXIR_4cVpNIyIMNDwBECHDLlDZRtslGmd12eFli5l0p-K816gbCBfFBZvD6ZuN2z1pISVfPHvdQV7dstEAxx0/s1600/Twitter.png' style='padding:5px;' width='32'/></a>
</div>

</div>
</div>
</div>

<div class='tab'>
<ul class='login'>
<li class='left'/>
<li>Hello!</li>
<li class='sep'>|</li>
<li id='toggle'>
<a class='open' href='#' id='open'>Open Menu</a>
<a class='close' href='#' id='close' style='display: none;'>Hide Me</a>
</li>
<li class='right'/>
</ul>
</div>
</div>

Replace the highlighted text with your own text and replace all categories with your categories name and # sign with their links. Replace Feed-name with your RSS Feed name and all username with your usernames. After making all the necessary customizations, click Save Template button and you're done!

We hope this article may have helped you in Creating a jQuery Sliding Panel Menu in Blogger. Share this article with your friends and Join our Bloggers Forum on Facebook @ https://www.facebook.com/groups/blogolectforum

7 comments to ''Create a jQuery Sliding Menu with Expand/Collapse Function in Blogger"

ADD COMMENT
  1. Tips For Moving During The Peak Season

    For More Information Visit My Webpage:
    http://www.buy5th.in/movers-and-packers-bangalore.html
    http://www.buy5th.in/movers-and-packers-pune.html
    http://www.buy5th.in/movers-and-packers-ghaziabad.html
    http://www.buy5th.in/movers-and-packers-gurgaon.html
    http://www.buy5th.in/movers-and-packers-delhi.html
    http://www.buy5th.in/movers-and-packers-hyderabad.html

    ReplyDelete
  2. Get Get More Details-
    Pest Control Services in Dwarka
    http://pest-control-delhi.pestcontrolindelhi.com/pest-control-in-dwarka.html
    Pest Control Mayur Vihar
    http://pest-control-delhi.pestcontrolindelhi.com/pest-control-in-mayur-vihar.html
    Pest Control Patparganj
    http://pest-control-delhi.pestcontrolindelhi.com/pest-control-in-patparganj.html
    Pest Control Vikaspuri
    http://pest-control-delhi.pestcontrolindelhi.com/pest-control-in-vikas-puri.html
    Pest Control Vasantkunj
    http://pest-control-delhi.pestcontrolindelhi.com/pest-control-in-vasant-kunj.html

    ReplyDelete
  3. This app store is offered on various iphone gadgets as long as Tutu Helper Tutu Helper is not just for those apps that could not find their method to the App Store.

    ReplyDelete
  4. Pest control in GK 2

    Pest control in GK 2: At Peroxide Pest Control, we are backed with skilled professionals and experienced technicians to ensure you to get the worth pest control management.

    Eventually, we provide pest control services in entire Pest control in GK 2 including GK 1. Furthermore, our program Pest control in GK 2 covers both residential pest control management services and commercial pest management services.

    For more information visit here:

    Pest control in Kalkaji
    Pest control in Nehru Place
    Pest control in GK 2
    http://www.peroxidpc.com/pest-control-in-govindpuri/
    Pest control in Okhla
    Pest control in Alaknanda
    Pest control in East of Kailash
    E-mail: peroxidepestcontrol@gmail.com
    Call me: 9654117123

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete