This is Lovely Featured Slider With Navigator For Blogger/Blog with widget navigation that is employed to navigate next and prev. during this gizmo there's a specialty that's you do not will not to feature image URL and link text, it discover your journal recent post mechanically as compared to alternative slider we've to manually add image URL and link text. you only have to be compelled to add your blog address that is all.
Live Demo Below
How To Add Featured Slider In Blogger
- Step 1 : Go To Blogger > Design > Page Elements
- Step 2: Click on "Add a Gadget" link
- Step 3: From the pop-up window, choose HTML/JavaScript
- Step 4: Copy and paste the following code below
Now replace the url (highlighted in blue) with your blog url and Save It. You can also customize image size, auto play, number of post to display and interval time on the above code.
<style type="text/css">
#slides *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
#slides ul,#slides li{padding:0;margin:0;list-style:none;position:relative}
#slides ul{height:250px}
#slides li{width:49.9%;height:100%;position:absolute;display:none}
#slides li:nth-child(1), #slides li:nth-child(2), #slides li:nth-child(3), #slides li:nth-child(4){display:block}
#slides li:nth-child(1){left:0;top:0}
#slides li:nth-child(2){left:50.1%;width:24.8%;height:49.8%}
#slides li:nth-child(3){left:75.2%;width:24.8%;height:49.8%}
#slides li:nth-child(4){left:50.1%;top:50.2%;height:49.9%}
#slides a{display:block;width:100%;height:100%;overflow:hidden}
#slides img{display:block;width:100%;height:100%;border:0;padding:4px;background-color:#0097BD;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
#slides .overlayx{width:100%;height:100%;position:absolute;z-index:2;background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAdPmLEpWpTuBmfGGDipWQxtWUkrH-zisCcZlbsNZFMonGNQywoCb-ozrN-nGNs_I78ZpThhlUhCzKZgAaelcKnlbgy9NT21LwMX7oux5kdrPTzCgbNE9Kv79wKS_B3QKErIMV631f_C_o/s320/bloggerheroe.com-fadebg.png);background-position:50% 50%;background-repeat:repeat-x;border:4px solid #1BA1E2;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
#slides h4{position:absolute;bottom:30px;margin:0;font-size:18px;font-family:Arial;left:0;padding:0 10px;color:white;z-index:3;line-height:20px;font-weight:normal}
#slides li:nth-child(2) h4,#slides li:nth-child(3) h4{font-size:13px;line-height:15px}
#slides .label_text{font-size:9px;color:white;bottom:10px;z-index:3;left:10px;font-family:Verdana,Geneva,sans-serif;position:absolute}
#slides li:nth-child(2) .autname,#slides li:nth-child(3) .autname{display:none}
#slides .overlayx,#slides li{-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;-ms-transition:all .4s ease-in-out;transition:all .4s ease-in-out}
#slides li:hover .overlayx{-ms-filter:"progid:DXImageTransform.Microsoft. Alpha(Opacity=10)";filter:alpha(opacity=10);-khtml-opacity:0.1;-moz-opacity:0.1;opacity:0.1}
#buttons{margin: 5px auto;text-align: center;background:#1BA1E2;width: 10%;}
#buttons a{display:inline-block;text-indent:-9999px;width:15px;height:25px;position:relative}
#buttons a::before{content:"";width:0;height:0;border-width:8px 7px;border-style:solid;border-color:transparent #FFFFFF transparent transparent;position:absolute;top:50%;margin-top:-8px;margin-left:-10px;left:50%}
#buttons a#nextx::before{border-color:transparent transparent transparent #FFFFFF;margin-left:-3px}
@media only screen and (max-width:600px){
#slides ul{height:600px}
#slides li:nth-child(1){width:100%;height:49.8%}
#slides li:nth-child(2){top:50.2%;height:24.8%;left:0;width:49.8%}
#slides li:nth-child(3){left:50.2%;top:50.2%;width:49.8%;height:24.8%}
#slides li:nth-child(4){left:0;top:75.3%;height:24.8%;width:100%}
}
</style>
<div id="featuredpost"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script src="http://dl.dropbox.com/u/81212926/bloggerheroe.com-fade.js" type="text/javascript"></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function () {
FeaturedPost({
blogURL:"http://www.bloggerheroe.com/",
MaxPost:8,
idcontaint:"#featuredpost",
ImageSize:300,
interval:5000,
autoplay:true,
tagName:false
});
});
//]]>
</script>
Optional
This widget will show in every pages of your blog like post, archive, static, label page. So if you wish to display this widget only in home page then you may have to follow below tips.- Goto template page and click edit HTML. Check mark Expand widget template.
- Find the following piece of code in your blog, Below code is not exactly same in your blog. It will different widget id, here is an just example HTML7
<b:widget id='HTML7' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:if>
</b:includable>
</b:widget>
- You cannot find the third line and last third line code (highlighted in red) but you have to copy paste and add it between your widget in your template.
18 comments:
I have done it with my web site.
Looking nice.
Check it here....
...........http://www.dasathanews.com/.........
Thank you very much bro..
Working nicely...
It was working nicely bro..
But some times the slider is not playing.
Can you please check my site and tell me what is the reason for that.
I have followed your steps correctly.
www.dasathanews.com
Thanks in advance.
great post.
Thanks Nice Post
great.... ty very much!
This article will assist the internet users for creating new
webpage or even a blog from start to end.
my web-site :: website
http://earningjobsnetwork.blogspot.com/ download free games here
Great tutorials. I was so lost but you made it really simple. Thank you so much for such an easy to follow tutorial!
website design
AAAAA THANNNKK YOUUUU!!!!!
I love this. Thanks so much for sharing...
You can see how nice it look on my site http://www.sharinglifesissues.com
THANKSSS!!!!!!!!!!!
how to i place my url's in place of yours.. I have successfully installed it, but won't able link my own links
please rply
Thnk So Much Brthr.. It is Working..
www.zanirnews.blogspot.com
I want an Image slider ,automatic and manual Slideshow as well as when cursor goes hovers the image, text overlay appears.
works nice. thanks! will apply it on my site.
www.stark-releases.blogspot.com
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!
Thanks for a great post this is great little effect you can add to your navigation to help increase the visual appeal of your site. You lay your steps out well with good clear concise instructions. Thanks again, I will definitely be using this in my up and coming projects.
website design
Mine not working properly. Not even a 'picture' or the slider show in my blog.