JavaScript Image Slider For Blogger - Helper Blogger

Blogger Widgets | Templates | Tutorials

Latest

Wednesday, 11 July 2012

JavaScript Image Slider For Blogger


Today I am sharing another cool slider which works with JavaScript and no jQuery 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 customizable 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 demo button below,




Live Slider Demo


How To Add This Slider To Blogger?


  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.helperblogger.com/ */

#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/AVvXsEgTBKHUcpHPPbv4kNiW59Vp1RiSHw129ZbN_zVQGsx1wxRd_MYno-JDAr2MB5dXV9kolTsbgX9uGUlcMJXCP3V6pDjW6Uw9uS0DSwYBvzeg3Y6ZHQpSzRB81VAaN3wWY_VbuF7B6Hw7h2Y/s1600/helperblogger.com-ribbon.png) no-repeat;
 z-index: 7;
}

#slider {
 width: 500px;
 height: 218px;
 background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ-PpU9h-wN6Sq7nvBJOXbjPUvwK0aDLXmV6jE7vXKwPMF1bgDaD-CQPMO2wTrMqdxhtv9GRQ2OIPR2r8sOmQv4Sg1suhG3mWSNvXvbFSWSDr9IZzlMkR3Hdnax93N-SZPiud0CMCnjfs/s1600/helperblogger.com-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/AVvXsEjZMnyLAPMxurKLtfqF6ZgYIGvAEMNkmKXIiFAoVeh-OgvV4OG1xbjlxB11G4HiCduEacwOhtmuXF1zUYprlnAN7iWcKu_a949QQpteF81-snhviqtOIQbEE43yZFDjUpn_0Dkw-NpBq4w/s1600/helperblogger.com-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://helperblogger.ucoz.com/demo/js-slider/js-image-slider.js" type="text/javascript"></script>

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

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

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

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

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

<a href="#"><img src="http://images.helperblogger.com/jsSlider/helperblogger.com-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.

      - Height 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 :)

139 comments:

  1. rahul tujhe aur koi kam nahi he kya blogging ko chor ke ek din me 5 post me to pagal ho jaunga likhte likhte.

    Keep It Up yaar Hats OFFFF

    http://lordhtml.blogspot.com

    ReplyDelete
    Replies
    1. bro. filhal chuttiyan chal rahi hain isiliye blogging ka maja le raha hoon :) Also many thanks for the kind word :)

      Delete
  2. NICE TUNE .BANGLAUNEER.BLOGSPOT.COM

    ReplyDelete
  3. Awesome slider looking better than other blogger slider thanks for sharing

    ReplyDelete
  4. Thank you for the post .. :)

    ReplyDelete
  5. agar aap demo dedete to maza aajaata...

    ReplyDelete
    Replies
    1. demo already add kiya hain.Click the blue button.

      Delete
  6. Nice one buddy. .I liked it. .

    http://bloggertricks.biz

    ReplyDelete
  7. Anyways to remove the what's hot banner? Great work!

    ReplyDelete
    Replies
    1. remove this HTML Code

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

      Save it and you are done.

      Delete
  8. Anyways to remove the what's hot banner? Great work!

    ReplyDelete
  9. Hi Guru, how do you make the slider appear only on the homepage?

    ReplyDelete
    Replies
    1. Use following code,

      <b:if cond='data:blog.canonicalUrl == data:blog.canonicalHomepageUrl'>

      ADD ABOVE SLIDER CODE HERE

      </b:if>

      Delete
  10. Something is wrong. The slider crashes the website after searching for older post (at about the 5th or 6th page) on safari and chrome :(

    ReplyDelete
    Replies
    1. Delete the css and html with ribbon.

      Delete
    2. Remove below CSS Code from above image,

      #ribbon {
      width: 111px;
      height: 111px;
      position: absolute;
      top: -4px;
      left: -4px;
      background: url(http://4.bp.blogspot.com/-2AdmLJaub9w/T_2NGQHAKfI/AAAAAAAACjk/ZHsOsqRyBEk/s1600/helperblogger.com-ribbon.png) no-repeat;
      z-index: 7;
      }

      remove this HTML Code

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

      Save it and you are done.

      Delete
  11. very good and easy to use widget, how can I change the color of the fonts?

    ReplyDelete
    Replies
    1. to edit caption color and code edit below CSS code,

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

      Delete
  12. dear rahul,
    I tried fixing this slider but it works very slow.& how to change the 'what's hot" Please guide.

    ReplyDelete
    Replies
    1. If you want to use your own ribbon then you can edit below ribbon code as you wish,

      #ribbon {
      width: 111px;
      height: 111px;
      position: absolute;
      top: -4px;
      left: -4px;
      background: url(http://4.bp.blogspot.com/-2AdmLJaub9w/T_2NGQHAKfI/AAAAAAAACjk/ZHsOsqRyBEk/s1600/helperblogger.com-ribbon.png) no-repeat;
      z-index: 7;
      }

      Delete
  13. Love this widget! Thanks so much!

    ReplyDelete
  14. how do you change the way the image slider slides?

    ReplyDelete
    Replies
    1. as per limitations of javascript we can not change it.Try nivo slider.

      http://www.helperblogger.com/2012/06/add-default-theme-of-nivo-slider-to.html

      http://www.helperblogger.com/2012/05/how-to-add-nivo-silder-to-blogger-blog.html

      Delete
  15. good day!
    I would like to know how to remove the caption (title and description and so as the black background) in the featured post. i just want images to slide by without descriptions. what are the codes for this? what to delete? please reply asap.

    ReplyDelete
    Replies
    1. 1. To Remove Captions -

      alt="Image Slider By helperblogger.com"

      remove the text inside Quotation mark so that it will look like this

      alt=""

      2. To remove ribbon remove below code from slider,

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

      3. To remove bullets remove below code,


      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(http://3.bp.blogspot.com/-G-iekYUr83U/T_2NEluoaDI/AAAAAAAACjY/TR1wfeuaO_k/s1600/helperblogger.com-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;
      }

      Finally save your slider.

      Delete
  16. sorry but there seem to be a mistype.
    I would like to know how to remove the caption (title and description and so as the black background) in the featured post SLIDER. i just want images to slide by without descriptions. what are the codes for this? what to delete? please reply asap.

    ReplyDelete
  17. please be informed that i couldn't locate the codes, results display "0 of 0"

    ReplyDelete
  18. Dear Mr. Rahul,

    I am using a blogger template that has a featured slider post that have a caption (title, description and background). now all i want is just the pictures to slide by without the captions. how can i remove it? my blog link is: http://thisisjustasampleonly.blogspot.com/

    you can see the main featured slider post here.
    also, how do i remove the "page 1 of 0"?

    please be informed that the codes are in PHP not html. how can i solve this?

    please help me ASAP.

    ReplyDelete
  19. I just wanted to say you are AWESOME for sharing this! Works great!! I understand there is no way to change the animations, but is there a way to add more that 5 pictures?

    airdailyx.blogspot.com

    ReplyDelete
    Replies
    1. I was futzing around with the code because I wanted more photos too.

      Simply copy the code from any one of the photo lines (the ones that start with < a and end with < /a>

      And paste it right below the first 'photo line.' Ensure there is an 'enter' before and after each line.

      Forgive my spacing- I haven't figured out how to put HTML in comments.

      Hope that helps!

      Delete
  20. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  21. Had questions but gigured them out myself. Thanks for the great slide. Very Nice .

    ReplyDelete
  22. How do you change how fast the slider changes?

    ReplyDelete
    Replies
    1. Yes, I would like to know this myself. Mine changes very fast and I would like to slow it down.

      Delete
    2. I would like to know this myself. Mine changes very fast and I would like to slow it down.

      Delete
  23. http://3.bp.blogspot.com/-G-iekYUr83U/T_2NEluoaDI/AAAAAAAACjY/TR1wfeuaO_k/s1600/helperblogger.com-bullet.png

    cn i allign dis in center af frame whether width=300px n hight=250px

    ReplyDelete
  24. Hi there...

    Is there any way to add this to individual posts? I have sets of photos in every post, but would love to be able to display them in your slider... Thanks so much :-)

    Jen

    ReplyDelete
  25. Hi, I love this Widget, thank you VERY much. I have 1 issue, the widget seems to be taking between 3 and 40 seconds to load anything when the page loads. Is there anyway to prioritise the widget to pre-load or load before waiting for the rest of the page?

    Or has anyone else had any experience such as this? the images we have used are not large and neither are the other images on the blog.

    I have included the link to the blog below if anyone can help.

    Many thanks again for an amazing widget!

    http://sovibrantopinion8.blogspot.co.uk/

    ReplyDelete
  26. Hi,
    I want to use "what is hot" on my every new post.
    Is it possible?
    Thank you.

    ReplyDelete
  27. Great Post..

    Where did you Host your CODE..??


    www.MoreBlogTools.com

    ReplyDelete
  28. This looks simply awesome.

    Thanking you.

    ReplyDelete
  29. I've since tried this and applied it to my site.

    Great work.

    ReplyDelete
  30. How to control timing of the animation?

    ReplyDelete
  31. How can i make it thet when i change pages on blogger he dont start slide from begining?

    ReplyDelete
  32. not working for me, its just keeps loading and dont show the images
    what is missing?

    ReplyDelete
  33. Thanks man, but how to prevent them change automatically?

    ReplyDelete
  34. Very helpful post! Thank you.

    ReplyDelete
  35. Hi doktor :) Is it any kod for fitting pic into the slider. It is a nice slide. You save a lot of work for me :)
    http://rhodoshellas.blogspot.se/

    ReplyDelete
  36. Can anybody post here a fix how you can show this slider at the homepage only, the method written above at july 27th doesn't work it's difficult if you have no html knowledge :P

    ReplyDelete
  37. How can i change the animation in the slider?

    ReplyDelete
  38. It keeps loading :S I did every step you did..

    ReplyDelete
  39. I'm wanting to add a play button image in the center of all the images. How can I go about doing that? I want it to look like if you click it, it will play like a video. Thanks. Mine is shown here http://www.survival-tube.com/

    ReplyDelete
  40. Mr. Rahul Ippar thanks again , great post ,awesome blog , I want to talk to you , is it possible ?

    Visit me here ,,,

    Download latest bluray hd movies and music videos in 720p and 1080p from mediafire and torrents free

    ReplyDelete
  41. I also would like to know how i can make the slider only show up on the homepage.

    Also can i change the display time?

    ReplyDelete
  42. Great script.
    Would like to know how to scale images and change timing.

    ReplyDelete
  43. i cant add it. :O


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

    doesn't work for me. Any help please?

    ReplyDelete
  44. how can we change the time changing duration ?

    ReplyDelete
  45. IT information Very useful for me.. Thanks a lot...

    ReplyDelete
  46. how can i add my personal images to this slider?

    ReplyDelete
  47. still cant make my photos fit . i have size them all and still doesn't
    work help. details

    ReplyDelete
  48. Thanks!!! Works perfect

    http://quietopalafoto-med.blogspot.com/p/movilidad.html

    My site is loading images from another site... some times thise images hasn't the same size. (You can see it in my site the five photo).

    There is a way to resize it? or to show it centered (vertical and horizontal)?

    Thanks!

    ReplyDelete
  49. thank you for sharing this excellent post,you may also like my blog http://multiway4u.blogspot.com

    ReplyDelete
  50. Huge help. Works awesome. Wouldn't mind knowing how to control the speed though... Thanks!

    ReplyDelete
  51. hi bullets position are not coming in proper place please help me with the positioning of bullets
    http://onestepmagic.blogspot.in/

    ReplyDelete
  52. Thank you, it's the best slider I've seen... :) And of course applied on my blog :

    http://http://lifescience-corner.blogspot.com/

    ReplyDelete
  53. Again, thank you so much helperblogger! This Image Slider is great! Look at my site...http://philippineproperties101.blogspot.com/

    ReplyDelete
  54. I can't click on the circles under the slider. Any suggestions? Maybe there's not enough space between the widget and the post below it. Otherwise love it. Thanks!

    ReplyDelete
  55. Rahul, how do i change the "what's Hot" to my own? eg. "What's New"?

    ReplyDelete
  56. Great Yaar Hats Of To You Love You Yaar

    ReplyDelete
  57. great tutorial
    thank you

    ReplyDelete
  58. Hi, I have just added this to my new website (www.DriverVIBE.com) and it has slowed it right down.

    I am hosting the images via photobucket. I am using 5x images which vary in size between 45-63kb each.

    Can you help?

    Thanks

    Rob

    ReplyDelete
  59. nyc buddy...
    checkout my blog http://softwaresuneeds.blogspot.in/

    ReplyDelete
  60. how i can make the slider to my ledt side?? i place it under the header/menu bar,, but the slider position is in center i want move to left,, can you tell me?? acelic.net

    ReplyDelete
  61. Thank you so much. This is quite great! I've managed to put it into my home wrapper. I am very proud of me 'cause I am pretty ignorant in the matter of HTML. Anyway, it's slowing down the page. Hmm.

    ReplyDelete
  62. Thanks so much for this, your demo page is very nicely done. This is will be a welcome addition to our blog.

    ReplyDelete
  63. This seems to be working fine-- except that the images aren't linking to the posts! Has anyone else had this problem, does anyone know how to fix it??

    The slider itself is working fine, just no links when you click on the images... :/

    ReplyDelete
  64. Amazing slider, best I have seen so far. Just one query, I need to move the position of that 5 circles used to change the slide, as when I changed the size of the slider, they remained at their original position.

    Please reply fast.

    ReplyDelete
  65. Thank you so much for this very helpful slider tutorial!! I was so desperate for having a slider in my blog and could not find anyone to help me and all my other attempts on adding a html/jquery slider failed. Now I do not only have the slider, but I have managed to change the size and color as well! Thanks a lot once again! The slider is wonderful!

    ReplyDelete
  66. @ Shashank, I just made an attempt to move these to be in the middle when I changed the size of my slider. It is very simple. All you need to do is to find this code which I have pasted below in the javascript that you have added and simply change the pixel size of "padding-left: 55px;" to a higher number. I changed it to 55px and it came right in the center of my slider. Just try different size of px until you have it in the center. I hope it will help you.

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

    ReplyDelete
  67. for more css and javascript style visit::technozodiac.blogspot.com

    and for mobile games:www.themobiforest.com

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

    ReplyDelete
  69. thanks for this slider.i have uploaded in one of my post but the loading speed of images is too slow.is there any way to make image loading faster?please check this post if any technical help can be given by you.

    ReplyDelete
  70. Hello Rahul, thanks this article is very nice and very helpful.

    ReplyDelete
  71. Is it possible to add more images to this slideshow? Great blog, by the way. So much knowledge to assist everyone. Thank you.

    ReplyDelete
  72. This is a great slider with very easy to use coding but my question is can the photos be linked to a post. Appreciate your response.
    Richard

    ReplyDelete
  73. How to extend the width of the slider - it comes small in the centre while i want it to extend in width. i want to show it on full wide screen

    ReplyDelete
  74. Just Awesome. Nothing to say.

    ReplyDelete
  75. Thank you for sharing this amazing slider for Blogger users! You've been such a great help over the years and I keep finding myself coming back to your website OFTEN for more cool Blogger tips. <3 Also, the fact that this slider works when I view my blog on my iPhone makes it even cooler! Thank you for sharing your invaluable knowledge! *runs off to customize her own slider*

    ReplyDelete
    Replies
    1. By the way, here's my blog if anyone would like to see how I've customized my slider!

      I even changed the "What's Hot" ribbon to look like a strip of BACON!
      http://isolte.blogspot.com

      Delete
  76. Thanks for the slider.
    By the way is there any way I can add a video instead of an image?

    ReplyDelete
  77. Great article mate, yours is the best slider out there ! STB

    ReplyDelete
  78. great slider, thanks!
    btw, how to change the speed ?
    anyone can help ?

    my blog
    http://songforsmiling.blogspot.com/

    ReplyDelete
  79. I keep finding myself coming back to your website OFTEN for more cool Blogger tips.
    Santa Clarita Senior Photography

    ReplyDelete
  80. Visit Here Guys

    http://prohelpers.blogspot.com/

    ReplyDelete
  81. Visit Here Guys

    http://prohelpers.blogspot.com/

    ReplyDelete
  82. Thanks! Can I change the speed? I want them to change slower.

    ReplyDelete
  83. Works awesome. Wouldn't mind knowing how to control the speed though... Thanks!
    Access Platform

    ReplyDelete
  84. how can we change the time changing duration ?

    ReplyDelete
  85. buddy, please tell us how can we change the time duration.

    ReplyDelete
  86. Dear Rahul,

    Thank you for the awesome widget. I have just started to use it but there's little problem with the widget. You see, when I click my picture on the slider, the url still keep going back to # no matter how many times i've changed the url. Help me pls >.<

    My blog http://purpleliciouspassion.blogspot.com/

    ReplyDelete
  87. Hey! Thanks for posting, very useful indeed!

    I was wondering if there's a way to change the effect to "fading"? Would mean a world!

    ReplyDelete
  88. very good my friend
    i wonde how it looks if remove the shadow after remove the border
    http://onmoves.blogspot.com

    ReplyDelete
  89. Excellent blog postings! Very impressive and factual. I like the way you always keep it up to date with all the relevant information necessary to your subject.
    Web developers Singapore

    ReplyDelete
  90. Nice and easy work.. Thanks Rahul.. How to increase or decrease the number of slides??

    ReplyDelete
  91. What does this "z-index" mean? Why is this for?

    ReplyDelete
  92. Mantep I like this artikel, you kreatif, perfeck.

    ReplyDelete
  93. Did anyone figure out how to change the speed of the slider? I love this slider and it work perfectly after adjusting some small things to fit my layout. I only can't figure out how to adjust the speed... Anyone? Thanks!

    ReplyDelete
  94. This is beautiful slide brother. I'm proud of you. And I can only say thanks very much for your widget :)

    ReplyDelete
  95. Broo... how to customize the slidding time ?
    i mean to make it not too fast..
    tanks...

    ReplyDelete

  96. You are a lifesaver! I’ve been looking everywhere for this, and am I excited! It works
    perfectly! Thank you so much for this awesome tutorial!

    ReplyDelete
  97. Same here Ghost Rider. I wanted to read about this and finally i found this. Thanks a lot for the share. :)
    ecommerce development

    ReplyDelete
  98. This is great idea to make our blog more attractive and increase traffic on it....i really appreciate you for this creative search but i have to ask just one question is it right for blogger website, i mean you think it doesn't effect the page speed of blog.adding lots of pics in slider slow down the blogger website.
    internet marketing company

    ReplyDelete
  99. Your codes are easily can understandable. Thanks for sharing useful information. Bangalore Web Design Company

    ReplyDelete
  100. thank you very mack http://www.khmerleadership.org/

    ReplyDelete
  101. Thanks HelperBlogger Team for the informative tutorial
    check my beautiful website www.iappnalysis.com for the stunning image slider :)

    ReplyDelete
  102. Amiable articles and the blogs really helped me a lot, thanks for the valuable information.
    Business Competition

    ReplyDelete
  103. All about professional learning, tips nad tricks

    http://scoutshrm.blogspot.com

    ReplyDelete

If you want to be informed about any replies then check "Notify me" option (present at lower right corner of comment box and it will display if you are logged in to your google account). PLEASE DO NOT SPAM