The biggest headache of a Blogger is to design his blog in such a way that his visitors cannot continue without appreciating his hard work. Have you ever seen an Accordion image slider that works whenever someone hovers over it? For WordPress users, Accordion Slider is not new because it is a robust platform. Since, Blogger Platformdoesn’t support significant designer languages like PHP, ASP. Therefore, we have less efficiency of creating something out of this world, and unwillingly we have to depend entirely on HTML, CSS and JavaScript. However, after hours of coding our handwork finally paid off because we were able to create an Unleashed Accordion Image Slider for blogger adapted from WordPress. Today we will be integrating MBL Accordion Features post image slider to Blogger.
What is Accordion Slider?
Majority of Webmasters don’t know what does Accordion means because the same word is also used for a musical instrument. However, an Accordion slider is a type of a widget that holds images together and gives an entire new look to your site. Moreover, it is a kind of JavaScript function that operates on hover.Features of Unleashed Accordion Image Slider:
- It is built with high speed Jquery so no compromise on Site speed.
- You can easily customize it style according to your needs.
- It has multiple animated hover transactions.
- Ability to add more than one slider on the same page.
- Allows to add Six images with transparent background.
- Works perfectly on multiple browsers i.e. Opera, Chrome, internet explorer and etc.
How To Install It in Blogger:
The steps are extremely straightforward and would hardly take 15 minutes to complete the integration so do as mentioned below.
- Go to Blogger.com >> Template >> Edit HTML >> Proceed.
- Now search for ]]></b:skin> and once you find it, just above it paste the following Styling code.
/* MBL Accordion Image Slider For Blogger (www.bsresearcher.blogspot.com) */
.MBLwrapaccordion {
margin-left: auto;
margin-right: auto;
width: 890px;
}
.caption_home{
position:absolute;
left:0;
}
.Accordionlink { display:none !important;}
MBLover, #MBLover2, #MBLover3, #MBLover4, #MBLover5, #MBLover6 {
overflow:hidden;
display:block;
position:relative;
display:inline-block;
}
.MBLContainer {
overflow: hidden;
display:block;
-moz-box-shadow: -5px 0px 5px rgba(1, 1, 1, 0.3);
-webkit-box-shadow: -5px 0px 5px rgba(1, 1, 1, 0.3);
box-shadow: -5px 0px 5px rgba(1, 1, 1, 0.3);
position:absolute;
cursor: pointer;
float:left;
display: inline-block;
zoom: 1;
}
.MBLContainer img {
position:relative;
}
.caption {
position:absolute;
background:rgba(1, 1, 1, 0.4);
padding:20px;
left:0;
}
.caption p {
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
font-size:12px;
line-height:1.6;
}
.caption h1 {
color:#CCC;
font-size:16px;
font-weight:normal;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
margin-bottom:5px;
}
.caption a {
text-decoration:none;
}
.caption_1 {
position:absolute;
padding:20px;
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
background-color:#ededed;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #dcdcdc;
display:inline-block;
text-shadow:1px 1px 0px #ffffff;
margin:0px 20px 20px 20px;
left:0;
}
.caption_1 p {
color:#999;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
font-size:12px;
line-height:1.6;
}
.caption_1 h1 {
color:#666;
font-size:16px;
font-weight:normal;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
margin-bottom:5px;
}
.caption_1 a {
text-decoration:none;
}
.caption_2 {
position:absolute;
background: #F03;
padding:20px;
left:0;
margin:0px 20px 20px 20px;
border-right: 1px solid #FF8080;
border-bottom: 1px solid #FF8080;
}
.caption_2 p {
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
font-size:12px;
line-height:1.6;
}
.caption_2 h1 {
color:#EFEFEF;
font-size:16px;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
margin-bottom:5px;
}
.caption_2 a {
text-decoration:none;
}
.caption_3 {
position:absolute;
background: rgba(255, 255, 255, 0.7);
padding:20px;
left:0;
margin:0px 20px 20px 20px;
border: 1px solid #fff;
}
.caption_3 p {
color:#666;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
font-size:12px;
line-height:1.6;
}
.caption_3 h1 {
color:#333;
font-size:16px;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
margin-bottom:5px;
}
.caption_3 a {
text-decoration:none;
}
.caption_4{
position:absolute;
background: #111725 url(../images/top_2.png) top repeat-x;
padding:20px;
left:0;
margin:0px 20px 20px 20px;
}
.caption_4 p {
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
font-size:12px;
line-height:1.6;
}
.caption_4 h1 {
color:#CCC;
font-size:16px;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
margin-bottom:5px;
}
.caption_4 a {
text-decoration:none;
}
- Then within the template search for </head> and just above it paste the following JavaScript coding.
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' type='text/javascript'/>
<script src='https://mybloggerlab.googlecode.com/files/jquery.unleash.min.js' type='text/javascript'/>
<script src='https://mybloggerlab.googlecode.com/files/jquery.animation.easing.js' type='text/javascript'/>
<script type='text/javascript'>
$(window).load(function() {
$('#MBLover').unleash({
duration: 700,
childClassName: '.MBLContainer',
captionClassName: '.caption_home',
SliderWidth: '890px',
SliderHeight: '300px',
width: 590,
Event: "hover",
easing: "quadEaseOut",
captionEasing: "backEaseInOut",
CollapseOnMouseLeave: true,
CaptionAnimation: "pop-up"
});
});
</script>
- Save the template and half of your work is almost done.
- Now paste the following HTML Structure code where you want to show this Accordion Slider i.e. Layout >> Add a Gadget >> Add HTML/JavaScript >> and paste the following code.
<div class="MBLwrapaccordion"><div id="MBLover"><div class="MBLContainer"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmwRnBil6ctcChbFjTyDURBNPzl9K2RYpuJFGRMqs071aEtzeexmVtHz6UDkwRl4V5bHDsvCSAyBStbxd4kiApf-0XCwch5Ulr6nFaBvMlWuCM6-pevku7uPqlqcol9RJF3qo8u5cY7ly2/s1600/b1.jpg"/><div class="caption_home"><a href="Your-Post-URL"><img src="Your-Image-Here"/></a></div></div><div class="MBLContainer"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOOW_fdERsA6gfSIAZlxV3CTPE8upbxiCgIJrH0D-hWSZ-FwZwcZeySeZL8het7XDz_JQe8ubWp0g6__L98T1hVTGyFzCPZ7Vx1cUMe0Pldf9vqdZlWUSpI15fDh59iu2r6ZKupj8W2-1f/s1600/b2.jpg"/><div class="caption_home"><a href="Your-Post-URL"><img src="Your-Image-Here"/></a></div></div><div class="MBLContainer"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6SjET-15fUvVCoTy0NnaJiCbko4cqCoplT_Niv_rsOuUWkiVv4mZg3wEcou2FMGqmtxm2wPLW_WRVcwjpkkFYWIoFcBx3__WJJiUqsdD70j1GhCtYb3c_n7GpYGLPZm6gq0DgrrHSi3wz/s1600/b3.jpg"/><div class="caption_home"><a href="Your-Post-URL"><img src="Your-Image-Here"/></a></div></div><div class="MBLContainer"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6hj0fs-L6ZT7C-_s7vH4Zkz76fHyd6EPzDzK0gX17fOYyaT7Y8Y_Nl0AS4rVAscS7meCn0XYiF9syP-paQLRrSnQ-Noflzp1htlH9-ancVRuQua8EoBkcVC-5briQku0hhXtm6V2HwpeJ/s1600/b4.jpg"/><div class="caption_home"><a href="Your-Post-URL"><img src="Your-Image-Here"/></a></div></div><div class="MBLContainer"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVg8sHTTm8MEeyZnxO2dMDUxK2oPeSsb0okQPiZOzWWxJjZrKdiAB9ilXnILrAN6dF1u_CfMWYG3iDQJiop5utR9HOmR8jxVDQNAbAYSeQ-DigCzXu53jsPIbOBKGdNZarCowOBwr7aoY/s1600/b5.jpg"/><div class="caption_home"><a href="Your-Post-URL"><img src="Your-Image-Here"/></a></div></div><div class="MBLContainer"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm0-FB_xu98d2jSRwviGx6B5pGs7G516Nv2dpyBQxB4NC2njnt86sWD2USI07FRib9ft8W_D_id2MaOV5hjo-L6QTdbBQYMeLjkNVOkfFfQO8ft3WaYMP4dhMu9pkergse7lRX04h_x5LK/s1600/b6.jpg"/><div class="caption_home"><a href="Your-Post-URL"><img src="Your-Image-Here"/></a></div></div></div><div class="Accordionlink"><a href="www.bsresearcher.blogspot.com">MBL</a><div><div><img alt="logo" class="logo" height="26" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizg0kiDQTxyRykargENwfxUG7fv95Fd0l6jQgHSkE87tFnFl6vdTFVkbuAX8oVAD3RsQLaNtWBLRpx2BH_Y7YLAbCXP__zRW4B6n6D1iuU_KQXyGgg3SIkWdCewZ592Ei8tqUnAQwJZK7q/s1600/shadow_2.png" width="890px"/></div></div><div class="Accordionlink"><a href="www.bsresearcher.blogspot.com">MBL</a><div><div>
Customization:
- Replace Your-Image-Here with your featured images. Remember: Use Transparent images otherwise the background will be hidden and save it in PNG format.
- To change the width of your slider replace 890px From CSS, JavaScript and HTML Structure coding. Remember: you have to change it Three times from the above coding.
- Replace Your-Post-URL with your specific URL that you want to target once your visitors will click certain image on accordion slider.
All Done: Once you have fully customized your slider go and save your Gadget. Now go ahead and visit your site to witness incredible unleashed accordion slider.
From The Editor’s Desk:
Hope you have enjoyed the roller-coaster ride if you feel any difficulty while adding this widget feel free to leave your comments. Till date MBL Blog has produced 50 splendid widgets For Blogger Platform and this may not been possible without your support.. If you have any problem or complain about your services feel free to leave your comment till than peace, Blessing and Happy Celebrating. Credits: alialaa
Related Widgets:
Related Widgets:
Jquery Unleash Accordion Image Slider For Blogger
4/
5
By
Editorial Board
Dear Reader! We’re enthusiastic to see your comment but after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me.
Let’s enjoy a personal and evocative conversation. Thank You!