JavaScript Image Slider For Blogger


Today I am sharing another cool slider which works with JavaScript and no j Query and flash is needed.This slider contains a ribbon at the left top corner of slider and it is named as "What's Hot" also it contains a beautiful slice effect which slices image into 12 parts,these main features increase beauty of the slider.Another great feature of this slider is it is highly customization so that to edit it as you wish and which will perfectly suits to your blog.This slider is created by menucool.com and I have created a bloggerized version of this slider to works perfect with blogger blog.See the demo of the slider by clicking on the "Live Slider Demo"




Live Slider Demo






  1. Go to Blogger Dashboard > Layout 
  2. Click on Add a Gadget 
  3. Select HTML/JavaScript (below header) 
  4. Paste code inside it,

<style type="text/css">

 /* JavaScript Image Slider By http://www.helpblogger.in/ */

#mcis {
 display: none;
}

#sliderFrame {
 position: relative;
 width: 500px;
 margin: 0 auto;
        border:5px solid #000;
}

#ribbon {
 width: 111px;
 height: 111px;
 position: absolute;
 top: -4px;
 left: -4px;
 background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXXxkANs7fpVAbGwC560x4SnxVSRzPV4WLyAP3ffGVGrGCVRHm6vz5-2_kMBiQj69PtzlM5kVmcsXZFOjXkc3h_LAGXXgzN-JC9tJgfKJHckvvbySNGEguFWcfvGeCG0lpqgRKvrTWkCM/s1600/helpblogger.in-ribbon.png) no-repeat;
 z-index: 7;
}

#slider {
 width: 500px;
 height: 218px;
 background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglsDE3RrCqd2-fIoUL8dHieh3XdKziKQwKxa6F0uXqnWhdwT71ZiFzQKi0xZAwSb1lhDZJ9bsXDhaN1C1vFw7Z0HmBLJDAo3R1dzIvtJ89jDOxvdzuK8Jo2DChTeoitWXzpbzxI3DmIJY/s1600/helpblogger.in-loading.gif) no-repeat 50% 50%;
 position: relative;
 margin: 0 auto;
 box-shadow: 0px 1px 5px #999999;
}

#slider img {
 position: absolute;
 border: none;
 display: none;
}

#slider a.imgLink {
 z-index: 2;
 display: none;
 position: absolute;
 top: 0px;
 left: 0px;
 border: 0;
 padding: 0;
 margin: 0;
 width: 100%;
 height: 100%;
}

div.mc-caption-bg, div.mc-caption-bg2 {
 position: absolute;
 width: 100%;
 height: auto;
 padding: 0;
 left: 0px;
 bottom: 0px;
 z-index: 3;
 overflow: hidden;
 font-size: 0;
}

div.mc-caption-bg {
 background-color: black;
}

div.mc-caption {
 font: bold 14px/20px Arial;
 color: #EEE;
 z-index: 4;
 padding: 10px 0;
 text-align: center;
}

div.mc-caption a {
 color: #FB0;
}

div.mc-caption a:hover {
 color: #DA0;
}

div.navBulletsWrapper {
 top: 250px;
 left: 190px;
 width: 150px;
 background: none;
 padding-left: 20px;
 position: relative;
 z-index: 5;
 cursor: pointer;
}

div.navBulletsWrapper div {
 width: 11px;
 height: 11px;
 background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMemPcXlDUd1rwo8IYZ-aapnLnpuPD20OXr_9mxNQIdZbl8MwcqngWiHzRx9k0bH6PuQzVOf_rfVwubm-FF3oHLMpRJGQ0IXBRtjAOZHyZE0B_M2Wv5FfbnfC_HdCSdyRljyuElv8QWIE/s1600/helpblogger.in-bullet.png) no-repeat 0 0;
 float: left;
 overflow: hidden;
 vertical-align: middle;
 cursor: pointer;
 margin-right: 11px;
 _position: relative;
}

div.navBulletsWrapper div.active {
 background-position: 0 -11px;
}

#slider {
 transform: translate3d(0,0,0);
 -ms-transform: translate3d(0,0,0);
 -moz-transform: translate3d(0,0,0);
 -o-transform: translate3d(0,0,0);
 -webkit-transform: translate3d(0,0,0);
}
 </style> 

<script src="http://code.helpblogger.in/js-image-slider.js" type="text/javascript"></script>

<div id="sliderFrame">
     <div id="ribbon"></div>
            <div id="slider">

<a href="#"><img src="http://images.helpblogger.in/jsSlider/helpblogger.in-1.jpg" alt="Image Slider By helpblogger.in"/></a>

<a href="#"><img src="http://images.helpblogger.in/jsSlider/helpblogger.in-2.jpg" alt=""/></a>

<a href="#"><img src="http://images.helpblogger.in/jsSlider/helpblogger.in-3.jpg" alt="The slide is a linking image"/></a>

<a href="#"><img src="http://images.helpblogger.in/jsSlider/helpblogger.in-4.jpg" alt="Pure Javascript. No jQuery. No flash."/></a>

<a href="#"><img src="http://images.helpblogger.in/jsSlider/helpblogger.in-5.jpg" alt="#htmlcaption"/></a>
                </div></div>

Important Note - Before adding  images to slider resize all of them to same size.


Color Codes Info - 

      - Width Of Slider

Set the width of slider according to your image width also use the images of same width and same heights.

      - Width Of Slider

Set the height of slider according to images height also use images of same width and height.

      - Image URL

Replace all highlighted image URL's with your own images URL.

      - Image Caption

Here you can add your image caption.

      - Link To Image

If you want to add any link to image then replace # with your own image URL.


Finally save all your changes and you are done :) 

You may like these posts