Add Slideshow To Blogger With Navigation Bar


AssalamuAlaikum Readers,
Slideshow is the best thing for sharing your pictures, portfolio's, articles etc well as if you reached this article means you are in search of slideshow and I don't need to explain what it is so leaving everything aside lets go to the implementing part.

Adding The Slideshow:

1. Go To Blogger > Add A Gadget > HTML / JavaScript.
2. Inside the content box paste the following code:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="http://nivo.dev7studios.com/scripts/nivo-slider/jquery.nivo.slider.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).load(function() {
    $('#slider').nivoSlider();
});
</script>
<style>
#slider {
    position:relative;
}
#slider img {
        position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
}
.nivo-controlNav {
    position:absolute;
    left:260px;
    bottom:-42px;
}
.nivo-controlNav a {
    display:block;
    width:22px;
    height:22px;
    background:url(http://4.bp.blogspot.com/_7wsQzULWIwo/TQ-dlkBU2zI/AAAAAAAADME/t3LPHO0VCso/s400/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:3px;
    float:left;
}
.nivo-controlNav a.active {
    background-position:0 -22px;
}
.nivo-directionNav a {
    display:block;
    width:30px;
    height:30px;
    background:url(http://3.bp.blogspot.com/_7wsQzULWIwo/TQ-dlGeZ32I/AAAAAAAADL0/R3v8bZsCtqo/s400/arrows.png) no-repeat;
    text-indent:-9999px;
    border:0;
}
a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
}
a.nivo-prevNav {
    left:15px;
}
.nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
    font-size:16px;
    padding: 10px 0px;
}
.nivo-caption a {
    color:#efe9d1;
    text-decoration:underline;
}
.clear {
    clear:both;
}
.nivoSlider {
    position:relative;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
}
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:60;
    display:none;
}
.nivo-slice {
    display:block;
    position:absolute;
    z-index:50;
    height:100%;
}
.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    background:#000;
    color:#fff;
    opacity:0.7; /* Overridden by captionOpacity setting */
    width:100%;
    z-index:89;
}
.nivo-caption p {
    padding:5px;
    margin:0;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-html-caption {
    display:none;
}
.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:99;
    cursor:pointer;
}
.nivo-prevNav {
    left:0px;
}
.nivo-nextNav {
    right:0px;
}
.nivo-controlNav a {
    position:relative;
    z-index:99;
    cursor:pointer;
}
.nivo-controlNav a.active {
    font-weight:bold;
}
</style>
<div id="slider">
<img src="URL Of Image" alt="" title="Description Goes Here" />
<img src="URL Of Image" alt="" title="Description Goes Here" />
<img src="URL Of Image" alt="" title="Description Goes Here" />
<img src="URL Of Image" alt="" title="Description Goes Here" />
<img src="URL Of Image" alt="" title="#htmlcaption" />
</div><!—Write Descriptoon With Links In this Part—><div id="htmlcaption" class="nivo-html-caption">
Cool na? :) Now Learn How to create one by <a href="http://wwww.bloggerfreaks.com">Clicking here</a> </div>
<br/>
<br/>

Customizing The Slideshow:

  • Replace the  "URL Of Image" with your image Link.
  • Replace the  "Description Goes Here" with your description.
  • If you don't want to show the description then simply remove the title="Description Goes Here".
  • If you want to add effects to the text or a link then use  title="#htmlcaption" instead of  title="Description Goes Here" and then write description as I have done.
  • To more images then just above  </div> paste the following piece of code: 
<img src="URL Of Image" alt="" title="Description Goes Here" />

(Note): The pictures must be of size 618 x 270 in order for the slideshow to work perfectly.

Any Queries? Feel Free To Ask! Don't forget to bookmark and like our articles. ALLAH HAFIZ , Stay Blessed.
Thanks For Making This Possible! Kindly Bookmark and Share it.

Technorati Digg This Stumble Facebook Twitter

2 comments:

Hamxa Wasim on 9 August 2012 11:05 said...

Good Post pal
Nicely Explained
Sleek Social Subscribe Box For Blogger Adapted From WordPress

meesum raza on 9 August 2012 13:21 said...

@hamxa
thank you dude :)

Confused? Feel Free to Ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Please do not spam
Spam comments will be deleted immediately upon our review.

Regards,
Meesum Raza

 

Blogger Freaks © 2012. All Rights Reserved |