How To Add Cool Jquery Featured Post Slider to Blogger 14


Sameera Chathuranga | 1/03/2011 | , , ,

How To Add Cool Jquery Featured Slider to Blogger/Websites

1.Login to your blogger dashboard and go to Design --> Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below and click save.














<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">

<a href="URL-of-Post 1"><img src="Slide-X-Image-Address 1" alt="" title="Slide X Description [...] 1" /></a> 
 
<a href="URL-of-Post 2"><img src="Slide-X-Image-Address 2" alt="" title="Slide X Description [...] 2" /></a>

<a href="URL-of-Post 3"><img src="Slide-X-Image-Address 3" alt="" title="Slide X Description [...] 3" /></a>

<a href="URL-of-Post 4"><img src="Slide-X-Image-Address 4" alt="" title="Slide X Description [...] 4" /></a>

<a href="URL-of-Post 5"><img src="Slide-X-Image-Address 5" alt="" title="Slide X Description [...] 5" /></a>   


</div>


<br/> 
<br/>


Note : Replace URL-of-Post-X , Slide X Description [...] , Slide-X-Image-Address with your content.

Use width=300px and height=618px images for your slides.

Look at the code below:

<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">

<a href="#"><img src="http://1.bp.blogspot.com/_7wsQzULWIwo/TQ_SR600LwI/AAAAAAAADM4/6mdDT1QWsug/s800/Gazelle_-_antelope_%2528savanna.gif" alt="" title="Description Goes Here" /></a> 
 
    <img src="http://3.bp.blogspot.com/_7wsQzULWIwo/TQ_SRmjju2I/AAAAAAAADMw/ohmdzT-IcQM/s800/Curious_Cat%252C_Siberian_Tiger.gif" alt="" title="You can add Description here or leave it blank as shown in the next image" /> 
 
    <img src="http://4.bp.blogspot.com/_7wsQzULWIwo/TQ_SRa2FfCI/AAAAAAAADMo/mSux9tnYhTw/s800/Christmas_Cat.gif" alt="" /> 
 
 <img src="http://4.bp.blogspot.com/_7wsQzULWIwo/TQ_SSNkGTgI/AAAAAAAADNA/dNFIQHMyjfE/s800/Leopard%252C_Africa.gif" alt="" title="You Can Add Description Here" /> 
 
<img src="http://3.bp.blogspot.com/_7wsQzULWIwo/TQ_SSi-XdWI/AAAAAAAADNI/xhONAnqeyDU/s800/Three_tickets_to_the_North_.gif" alt="" title="#htmlcaption" /> 


</div>


<br/> 
<br/>



Now you are done.

Cheers

Get Article Via Email


    feedburner Facebook Twitter


14 Responses So Far:

Madalin said...

Hi! How can I change slide timing, to go more slowly?

TEAM API said...

very nice thank you very much

csseyah said...

i like it.. thanks

funny pics said...

thanks, I'm putting this on my blogger blog.

suza said...

How do I make the whole slider smaller (height wise)

Koowie said...

Awesome. Will use this for my blog!

Anonymous said...

Lots of good reading here, thank you! I had been searching on yahoo when I observed your publish, I’m going to add your feed to Google Reader, I look forward to far more from you.

Organic Mommy Today said...

Unable to use this on my blog the transitions are messing up if you could fix and then re-post I would be very excited. Thanks

kruise rock said...

Wow it is nice and one of the great thing post by you for the current subject. it is one of the longest but easy to understand script.

psd to magento

Martyv25 said...

Hi great post, am wanting to use this on my blog but was wondering. Is there a way to make the slider only appear on the home page? Meaning that when pepole click to read a post it does not appear at the top.

Thanks

Tanzillo Massimo said...

is it possible to have this widget base on feed rss?

Wan Muhammad Firdaus said...

Hi there, It seem that the slider is not working after a while...hope that you can check it out...thank you..

blodger freind said...

You may donwload the new version of slide from the above link.

chetaru said...

Hi….
Thanks for sharing this information and resources its really help full for me with the help of this we can improve our designs and development I really inspire with this information thanks

Web Design Company India

Jump Start your Web Traffic with Site Analytics fr DreamTemplate - Web Templates Bluehost Web Hosting $6.95 DeluxeTheme.com

Categories

Select Your Categories
Background (50) Backlink (12) Basic (14) Blogger Template (343) Bookmarks (24) Browser (5) Button (31) Change Template (35) Code Generators (8) Comments (15) Cookies (3) Coupon Code (11) CSS (87) Cursors (6) Directories (3) Domain (3) Facebook (12) Feed (7) Flash (9) Flash Template (22) Font (2) Gadget (86) Game (22) GoDaddy (10) Google (19) HTML (181) Icon (10) Image (15) Internet (25) Java Script (224) Jquery (53) Labels (4) Link (4) Make Money Online (6) Meta Tags (5) Modem (2) Mootools (2) News (10) Post (28) PSD Template (20) Search Engine (4) Seo (15) Services (5) Skype (4) Social-Media (40) Subscription (3) Text (7) Text Boxes (3) Tools (1) Tutorial (7) Unlocker (2) Widget (183) Windows Tips (6) Wordpress Theme (10) Yahoo (4)