Videos

JavaScript Image Slider for Blogger 2014

http://project.dimpost.com/image-slider/javascript-image-slider


<style type="text/css">
/* http://dimpost.com */

#sliderFrame {position:relative;width:700px;margin: 0 auto 40px;}
        
#slider {
    width:700px;height:306px;/* Make it the same size as your images */
 background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXlnENcKIuYCwpTnegrM8CHhRl1UV34UiP1TFC8CpD59JerUHYF4HjMXMlDyFyaTCZjavtU1k25tm7S34CRN-h4pRN2CgWHa7k9clhG_L_ZmIefesYp8KDmnYqvvV8Sky4jneu3Ejp7THs/s1600/loading.gif) no-repeat 50% 50%;
 position:relative;
 margin:0 auto;/*make the image slider center-aligned */
    box-shadow: 0px 1px 5px #999999;
}
#slider img {
 position:absolute;
 border:none;
 display:none;
}

/* the link style (if an image is wrapped in a link) */
#slider a.imgLink {
 z-index:2;
 display:none;position:absolute;
 top:0px;left:0px;border:0;padding:0;margin:0;
 width:100%;height:100%;
}

/* Caption styles */
div.mc-caption-bg, div.mc-caption-bg2 {
 position:absolute;
 width:100%;
 height:auto;
 padding:0;
 left:0px; 
 bottom:15px;
 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;
}


/* ------ built-in navigation bullets wrapper ------*/
div.navBulletsWrapper  {
 top:320px; left:280px; /* Its position is relative to the #slider */
 width:150px;
 background:none;
 padding-left:20px;
 position:relative;
 z-index:5;
 cursor:pointer;
}

/* each bullet */
div.navBulletsWrapper div 
{
    width:11px; height:11px;
    background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCHjVd7jNFd90327-Bej667ZxBgzcG0tT5fKbihX7OMBqsh6Ur5ocr7gt0ovg95Jbo9iG-uNFo14lLHSUFxyyFy5nH6wVu5KxLcWsPHBfap-Wyr7KFnJaI_U1KsGxbEXZ2aFETQgdZvBv2/s1600/bullet.png) no-repeat 0 0;
    float:left;overflow:hidden;vertical-align:middle;cursor:pointer;
    margin-right:11px;/* distance between each bullet*/
    _position:relative;/*IE6 hack*/
}
div.navBulletsWrapper div.active {background-position:0 -11px;}
.intro {
    bottom: 0;
    color: rgba(0, 0, 0, 0.2);
    font-size: 16px;
    position: absolute;
    right: 0;
    text-decoration: none;
    z-index: 99999;
}
/* --------- Others ------- */
#slider 
{
 transform: translate3d(0,0,0);
    -ms-transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -o-transform:translate3d(0,0,0);
}
</style>
<script src="http://project.dimpost.com/image-slider/js-image-slider-1.js" type="text/javascript"></script>
<script src="http://project.dimpost.com/image-slider/js-image-slider-2.js" type="text/javascript"></script>

<div id="sliderFrame">
<div id="slider">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYUE792xXx8PK3_S1alxGUTQkCH8i6KqjX6nyWBpZt2dhLQPmcOiEyufnvqM6gaikk7pgXRdkWGea4CWSPaOVdRJYpdiWVfPfFtGVj3j9NM6TwUnomRl6f_cjJJy_IwBY79ibKRKuHU6XK/s1600/image-slider-1.jpg" alt="#htmlcaption1" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTSGkExmhg-kUK33a1kwjI6Wov9kaJ1bURsIBUHurhsQIJRdiezsldMZd7qj3tB_gAmsZxsrrLhyphenhyphen5kbDILYtOXm6ktb8FN9uzUX-KLM7srV7OmX-luJh50cmqf72ZueCURHW1kHHYYgOBp/s1600/image-slider-2.jpg" alt="Go UP!" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGOennxhAzfYklga9T-xBeRU76zHZWLPzUIi0lYaDkHZMhYw-XTLg8aFnRVksuFbUZQxlLxMoQaKr800MEftH1i0u1bNgxXZc1RErxHpReq_5CrxG0eCQvxzhh8T5euU17B5NQtxeypNgN/s1600/image-slider-3.jpg" alt="Pure Javascript. No jQuery. No flash." /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgomq85Gb_7jusvFPbX6t0xOuYkQN_D5c8jB-1LuyAefnUyBg4Zx7D_mJgAvJZkhUOSFmLQRWLIVdRjQ9jI1i9vVASa63ypenvcmbQunZPzIPzllYUNs278kBecihFEjRIul77_p2N0oNGo/s1600/image-slider-4.jpg" alt="#htmlcaption2" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5oCtNKrt4FksW6EHzkew0ntlTdv_VkiPcY9hMQUnotqT49dicQnUeKccXz4vjOz59Dx-8KCd-EczseLnM4vKKkD9dQZ9-cKOjl129DJ__p41xdOvPi-kkCnXKYlXnFQzpnsNBhRTNDQU6/s1600/image-slider-5.jpg" alt="Stay Connected"/></a>
</div>
<div id="htmlcaption1" style="display: none;">
Image Slider by <a href="http://dimpost.com/" target="_blank">DIMPost.com</a>
</div>
<div id="htmlcaption2" style="display: none;">
<a href="http://www.w3schools.com/css/" target="_blank">CSS</a> <a href="http://www.w3schools.com/js/default.asp" target="_blank">JavaScript</a> Rocks.
</div>
 </div>
1. Go to Blogger Dashboard > Layout > Add a Gadget
2. Select HTML/Javascript
3. Copy the code above code and paste on your HTML/JavaScript Gadget.
    Blogger Comment
    Facebook Comment
 
Copyright © 2013. iStudyhome.com
Distributed By istudyhome | Created By ThemeXpose