Click And Expand Panel Content Box Widget For Blogger
Click and expand panel content box widget for blogger that expands when you click. Good to share photos and for summarizing the parts of longer pages.
Click And Expand Panel Content Box Widget For Blogger |
This is one of the best widget that you will find here. This is pretty good widget to summarize the longer part of the webpage. For example you want to share a large collection of photos but you have very little space in your sidebar then you must use this widget. It will hide all the photos but when user clicks on any part of the widget suddenly the panel expands and shows the entire collection of photos.
Few Best Widget For Blogger
Animated image gallery widget for bloggerHammer Effect drop down menu bar widget for blogger
Image accordion widget for blogger
Tabbed content box widget for blogger
Window effect social media widget for blogger
Qualities of click and expand panel widget.
- Auto resize. It automatically fits with width.
- To show a large collection of photos.
- To summarize the longer page.
- You can insert images, links, tables and anything inside this widget.
- Made with HTML, CSS and Javascript.
- Fast in loading.
Below I will describe how to add this widget to your blogger blog and how to customize it for best results. So let's check it out the code first.
Complete Code
<style type="text/css">
#avdhoottovik {display:block}
#panel {
background-color:#96BC43;
border:2px solid #a7cc54;
border-width:2px 2px 0 2px;
height:250px;
overflow:auto;
margin:0;
padding:10px;
color:#111;
font:normal 12px Times,Serif;
-webkit-box-shadow:inset 0 0 7px #222;
-moz-box-shadow:inset 0 0 7px #222;
box-shadow:inset 0 0 7px #222;
display:none;
}
.avdhootpanel {
position:relative;
cursor:pointer;
text-shadow:1px 1px 2px #000;
padding:7px 15px;
background-color:#333;
border-top:3px solid #a7cc54;
color:#e5e5e5;
text-align:center;
font:bold 14px Times,Sans-Serif;
font-style:italic;
-webkit-box-shadow:0 -1px 2px #222;
-moz-box-shadow:0 -1px 2px #222;
box-shadow:0 -1px 2px #222;
-webkit-border-radius:0 0 14px 14px;
-moz-border-radius:0 0 14px 14px;
border-radius:0 0 14px 14px;
}
.avdhootpanel:hover {color:#ccc}
.avdhootpanel:after {
content:'';
position:absolute;
top:100%;
margin-top:-10px;
left:5%;
width:0;
height:0;
display:block;
border-width:20px;
border-style:solid;
border-color:#333 #333 transparent #333;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.avdhootpanel').click(function() {
$('#panel').slideToggle('slow');
$('.avdhootpanel span.in').toggle();
});
});
</script>
<div id="avdhoottovik">
<div id="panel">
... type here ...
</div>
<div class="avdhootpanel">
<span class="in">Click And See The Magic</span>
<span class="in" style="display:none;">Expanded Panel</span>
</div>
</div>
#avdhoottovik {display:block}
#panel {
background-color:#96BC43;
border:2px solid #a7cc54;
border-width:2px 2px 0 2px;
height:250px;
overflow:auto;
margin:0;
padding:10px;
color:#111;
font:normal 12px Times,Serif;
-webkit-box-shadow:inset 0 0 7px #222;
-moz-box-shadow:inset 0 0 7px #222;
box-shadow:inset 0 0 7px #222;
display:none;
}
.avdhootpanel {
position:relative;
cursor:pointer;
text-shadow:1px 1px 2px #000;
padding:7px 15px;
background-color:#333;
border-top:3px solid #a7cc54;
color:#e5e5e5;
text-align:center;
font:bold 14px Times,Sans-Serif;
font-style:italic;
-webkit-box-shadow:0 -1px 2px #222;
-moz-box-shadow:0 -1px 2px #222;
box-shadow:0 -1px 2px #222;
-webkit-border-radius:0 0 14px 14px;
-moz-border-radius:0 0 14px 14px;
border-radius:0 0 14px 14px;
}
.avdhootpanel:hover {color:#ccc}
.avdhootpanel:after {
content:'';
position:absolute;
top:100%;
margin-top:-10px;
left:5%;
width:0;
height:0;
display:block;
border-width:20px;
border-style:solid;
border-color:#333 #333 transparent #333;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.avdhootpanel').click(function() {
$('#panel').slideToggle('slow');
$('.avdhootpanel span.in').toggle();
});
});
</script>
<div id="avdhoottovik">
<div id="panel">
... type here ...
</div>
<div class="avdhootpanel">
<span class="in">Click And See The Magic</span>
<span class="in" style="display:none;">Expanded Panel</span>
</div>
</div>
How to add this widget into blogger
- First login to blogger.
- Go to layout.
- Click on add a gadget.
- Choose HTML.JAVASCRIPT.
- Copy the above code.
- Paste it into a gadget.
- You are done.
How to customize click and expand the panel widget content box for blogger
- You can see ...type here... Section in the code. Here you can insert your code like a table or whatever or a collection of photos that you want to share.
- Search for "click and see the magic" here you can type your own title.
- Search for "expanded panel" here you can type what you want to show after the panel gets expanded.
NOTE:-
If your blogger template has two instances of same javascript than maybe this widget will not work. So take care of it.
Few essential widget for blogger
Related posts widget for blogger
Popular posts widget for blogger
Chat widget for blogger
Comments widget for blogger
As I already said that this is the best widget for summarizing the content for longer pages and also to give a beautiful look to your blogger template.