Bismillah, Alhamdulillah

Skip to Content

Automatic Content Slider for Blogger using Nivo Slider part 2

July 31st, 2011

In my previous post, i said to give you a new css styles for this nivo slider.
This time i will give you a new theme for this widget.
the name is Orman theme.

The following is how it looks

Nivo Slider with Orman theme


Step 1 : Apply Style

  1. Login to Blogger Dashboard and navigate to Layout > Edit Html
  2. Don’t click the checkbox which says ‘Expand Widget Templates’
  3. Find this
]]></b:skin>

Then insert the script in front of it

/* START
--------------------------------------------------------------------
 Automatic Content Slider for Blogger using Nivo Slider
 By http://www.abu-farhan.com
--------------------------------------------------------------------
 Nivo Slider
*/
/*-----START Orman Theme ----------------------------------------*/
.theme-orman.slider-wrapper {
 background:url(http://i1133.photobucket.com/albums/m596/abu-farhan/nivo-slider/Orman/slider.png) no-repeat; width:722px;
 height:337px;
 margin:0 auto;
 padding-top:18px;
 position:relative;
}
.theme-orman .nivoSlider {
 position:relative;
 width:568px;
 height:268px;
 margin-left:77px;
 background:url(http://i1133.photobucket.com/albums/m596/abu-farhan/nivo-slider/Orman/loading.gif) no-repeat 50% 50%;}
.theme-orman .nivoSlider img {
 position:absolute;
 top:0px;
 left:0px;
 display:none;
 width:568px; /* Make sure your images are the same size */
 height:268px; /* Make sure your images are the same size */
}
.theme-orman .nivoSlider a {
 border:0;
 display:block;
}
.theme-orman .nivo-controlNav {
 position:absolute;
 left:50%;
 bottom:-60px;
 margin-left:-30px; /* Tweak this to center bullets */
}
.theme-orman .nivo-controlNav a {
 display:block;
 width:10px;
 height:10px;
 background:url(http://i1133.photobucket.com/albums/m596/abu-farhan/nivo-slider/Orman/bullets.png) no-repeat;
 text-indent:-9999px;
 border:0;
 margin-right:7px;
 float:left;
}
.theme-orman .nivo-controlNav a.active {
 background-position:0 -10px;
}
.theme-orman .nivo-directionNav a {
 display:block;
 width:25px;
 height:200px;
 background:url(http://i1133.photobucket.com/albums/m596/abu-farhan/nivo-slider/Orman/arrows.png) no-repeat 0% 50%; text-indent:-9999px;
 border:0;
 top:40px;
}
.theme-orman a.nivo-nextNav {
 background-position:100% 50%;
 right:-40px;
 padding-right:20px;
}
.theme-orman a.nivo-prevNav {
 left:-40px;
 padding-left:20px;
}
.theme-orman .nivo-caption {
 font-family: Helvetica, Arial, sans-serif;
}
.theme-orman .nivo-caption a {
 color:#fff;
 border-bottom:1px dotted #fff;
}
.theme-orman .nivo-caption a:hover {
 color:#fff;
}
.theme-orman .ribbon {
 background:url(http://i1133.photobucket.com/albums/m596/abu-farhan/nivo-slider/Orman/ribbon.png) no-repeat; width:111px;
 height:111px;
 position:absolute;
 top:-3px;
 left:56px;
 z-index:300;
}
/*----- END Orman Theme ----------------------------------------*/
/* The Nivo Slider styles */
.nivoSlider {
 position:relative;
}
.nivoSlider img {
 position:absolute;top:0px;left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
 position:absolute;top:0px;left:0px;width:100%;height:100%;border:0;
 padding:0;margin:0;z-index:6;display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
 display:block;
 position:absolute;
 z-index:5;
 height:100%;
}
.nivo-box {
 display:block;
 position:absolute;
 z-index:5;
}
/* Caption styles */
.nivo-caption {
 position:absolute;
 left:0px;
 bottom:0px;
 background:#000;
 color:#fff;
 opacity:0.8; /* Overridden by captionOpacity setting */
 width:100%;
 z-index:8;
}
.nivo-caption p {
 padding:5px;
 margin:0;
}
.nivo-caption a {
 display:inline !important;
}
.nivo-html-caption {
 display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
 position:absolute;
 top:45%;
 z-index:9;
 cursor:pointer;
}
.nivo-prevNav {
 left:0px;
}
.nivo-nextNav {
 right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
 position:relative;
 z-index:9;
 cursor:pointer;
}
.nivo-controlNav a.active {
 font-weight:bold;
}
.theme-default #slider {
 margin:100px auto 50px auto;
 width:618px; /* Make sure your images are the same size */
 height:246px; /* Make sure your images are the same size */
}
.theme-pascal.slider-wrapper,
.theme-orman.slider-wrapper {
 margin-top:150px;
}
.clear {
 clear:both;
}
/* END
--------------------------------------------------------------------
 Automatic Content Slider for Blogger using Nivo Slider
 By http://www.abu-farhan.com
--------------------------------------------------------------------
 Nivo Slider
*/

Step 2 : Apply Javascript

Find This :

</body>

Then insert the script in front of it

<!-- jQuery -->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js' type='text/javascript'/>
 <script src='http://catur-at-abu-farhan.googlecode.com/svn/trunk/nivo-slider-modified.min.js' type='text/javascript'/>
 <script type='text/javascript'>
 $(window).load(function() {
 $(&#39;#slider&#39;).nivoSlider();
 });
 </script>

Step 3 : Apply Gadget

Design -> Click on “Add a Gadget” -> HTML/JavaScript type.

<div class="slider-wrapper theme-orman">
<div class="ribbon"></div>
 <script style="text/javascript" src="http://catur-at-abu-farhan.googlecode.com/svn/trunk/galleryposts-nivo-slider.js"></script>
<script style="text/javascript">
 var numposts_gal = 6;   //number of posts
 var image_height = 270; //image height
 var image_width = 570;  //image width
</script>
<script src="http://abu-farhan-demo.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showgalleryposts"></script>
</div>

(if you are already use Nivo Slider that I give you in my previous post.  Just follow Step 1 and Step 3)

Demo

if you have any questions please leave a comment….thx u

Alhamdulillah… by Catur

Another post about the Automatic Content Slider for Blogger :

  1. Automatic Content Slider for Blogger using Nivo Slider part 1
  2. Awesome Automatic Content Slider for Blogger using jQuery Part 3
  3. Awesome Automatic Content Slider for Blogger using jQuery Part 2
  4. Awesome Automatic Content Slider for Blogger using jQuery Part 1

Categories: Content Slider, Widget

Tags: , ,

Enjoyed this Post?

Subscribe to our RSS Feed, Follow us on Twitter or Comments RSS Feed

Donate towards my web hosting bill!

Trackback
Leave a response

27 Responses to “Automatic Content Slider for Blogger using Nivo Slider part 2”

  1. One problem.How can i make it to be shown only on homepage and no to posts?????

  2. It is actually a nice and useful piece of information. I am satisfied that you just shared this helpful information with us. Please keep us up to date like this. Thanks for sharing.

  3. thankz bang abu farhan dan bang catur…..
    bermanfaat buat blog pemula saya…
    salam sahabat borneo……..

  4. KlikNesia says:

    Thanks For Script..
    Saya pakai di blog saya dan sedikit edit agar sesuai dengan layoutnya :)
    Di Tunggu script2 keren selanjutnya :D

  5. macbook says:

    Thank for shared good info and i like your blog it clean and nice picture.

  6. Boom says:

    I’d need to provide blessing with you here. that isn’t something I sometimes do! I fancy reading a post that will make folks suppose. Also, thanks for allowing me to speak my mind!

  7. Appreciate it protagonist with the portion. Seemed to be impressed through your spot. Ones means of getting rid of the top chunks indicates an authentic centre intended for particular. Ones penning ran rattling very well. With thanks

  8. AndyOnline says:

    haduh.. pusing juga nyari slide yang cocok sama template yang saya pake, bikin sendiri gak bisa, mau pake kreasi teman2 gak ada yang cocok, pengen yang naik turun dari atas ke bawah, kaya air terjun :( tapi bisa balik lagi ke atas..
    aduh, rewelnya diriku..

  9. MASON says:

    I agree with you on this, really. Haven’t met too many peopel who think the same way!

  10. Mohammed says:

    Ooooooh Yes it work very gooooood
    thank you very much
    i like your website and i hope you continuto do this nice work

  11. Mohammed says:

    please i want to add the height and the width of the slider how can i do it
    thank for your effort abu farhan

  12. Will Lima says:

    não sei pq mais no meu não deu… rsrs

  13. Sepertinya ini bakalan jadi tampilan yang menarik buat blog saya, so.. ijin praktekin mas, semoga aja langsung bisa, thanks!

  14. dukun design says:

    naaah ini yang saya cari-cari… ane coba dulu gan… ntar balik lagi, hahaha :D

  15. Hompimpa says:

    Saya seorang pemakai slider tipe s3slider. Sesaat Saya pernah melihat urutan angka yang berasal dari atribut alt=”nya yang juga ikut dianimasikan. Dan sekarang angka-angka itu sudah tidak ada. Apakah slider Saya rusak?

  16. Beben Koben says:

    Kayaknya ada kesalahan dalam menuliskan link demonya?
    Mancap duo master kita ini, lanjutkan berkreasi bos…hehe \m/

  17. suharjo says:

    assalamualaikum, ,ya akhi,, bisa bantu saya tentang s3slider yang automatic conten by post / label.. saya menggunakan nivo slider gambarnya di perbesar menjadi 990px x 300px slideshownya tidak mulus.. ada beberapa bagian yang terputus..

  18. Edd says:

    Hello Abu, please release Bloggertube V2.. eagerly waiting for that…………..

Leave a Reply

Copyright 2009 - 2010  Choen