How to add Jquery featured post slider to blog





 



1. Log in to blogger and Go to Design >> Page Element

2. Click  'Add a Gadget' and select 'HTML/Javascript'

3.Paste below 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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1U4VTxWOLEvSOkS01yi3uIwsNBJHHGsEZQAkN4xCEYer13VD-STHQrN2YuSwqyE15_lSbdANPGTbgt6Sh-9cBHg2l0sbhE1oUoQYLBoouCW_qiVXBch_sphEZZarLGQMv15y7ytuPV-M/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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFMYB22qLdWRNGtvn2CJgvgVqlUUgynWBjw45xulh3CzaG3bAtZRYJVRURoTkucoMFhqqVOehrqILPjTWx_aKDB6CkEAsrtVjgCg57Z-PInf6YbfFVAw5c8N1lAlcM3wLQ_oCyTd8coAM/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">

<a href="Post URL1"><img src="Image URL 1" alt="" title="Slide Description Here" /></a>

<a href="Post URL 2"><img src="Image URL  2" alt="" title="Slide Description Here" /></a>

<a href="Post URL 3"><img src="Image URL  3" alt="" title="Slide Description Here" /></a>

<a href="Post URL 4"><img src="Image URL  4" alt="" title="Slide Description Here" /></a>

<a href="Post URL 5"><img src="Image URL  5" alt="" title="Slide Description Here" /></a>  


</div>


<br/>
<br/>

*Replace Post URL with your Post link
*Replace  Image URL with your Image link
*Replace Slide Description Here with your post description

4. Fill your information correctly.save it. you are done.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews