Today i will tell you how to add Jquery Recent Post Slider in Blogger/blogspot in very easy way
Follow some Simple Steps to add it..
- Log in to blgger and Go to Design >> Edit HTML
- make sure backup your template first
- Find this tag by using ]]></b:skin>
- Now Paste below code Before ]]></b:skin> tag
/* By www.egytricks.com/ */
#slide-container {
height: 300px;
position: relative;
width: 480px;
}
#slider {
height: 360px;
left: 25px;
overflow-x: hidden;
overflow-y: hidden;
position: relative;
width: 480px;
font-family: calibri;}
.slide-desc {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qmgGklLoIpSnVtOCpoVgPUfD4zvgbnD6kz4X8ZN4Qx2DvcNJgzPeWB_b1WjdtikpGURER9SwZmOWlIAxp4_p1eHIMaaqDZYr6RSKXCGkXnYkcmh6MUZLfryGq0ZhKOLWcVHpE3O01E0/s1600/darkbg.png) repeat scroll 0 0;
color: #FFFFFF;
padding: 10px;
position: absolute;
right: 0px;
text-align: left;
top: 0;
width: 200px;
z-index: 99999;
}
.slide-desc h2 {
display: block;
}
.crosscol .widget-content {
position: relative;
}
#slider ul, #slider li,
#slider2 ul, #slider2 li {
margin: 0;
padding: 0;
list-style: none;
}
#slider2 {
margin-top: 1em;
}
#slider li, #slider2 li {
width: 480px;
height: 360px;
overflow: hidden;
}
#prevBtn, #nextBtn,
#slider1next, #slider1prev {
display: block;
width: 30px;
height: 77px;
position: absolute;
left: -30px;
text-indent: -9999px;
top: 71px;
z-index: 1000;
}
#nextBtn, #slider1next {
left: 520px !important;
}
#prevBtn, #nextBtn, #slider1next, #slider1prev {
display: block;
height: 77px;
left: 0;
position: absolute;
top: 132px;
width: 30px;
z-index: 1000;
}
#prevBtn a, #nextBtn a,
#slider1next a, #slider1prev a {
display: block;
position: relative;
width: 30px;
height: 77px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4zRs8r8byOr6jqU0awUL4ZSNEIcUxdlg-rM6mTUOyMjxggjLleZ724e79DGP9y4Bwfr-laYbRccP_MU2ES4vwcicJmdlz_8Gvy0vL42yGiwxs1biVxTWyG4ym8-bkYELaSuBhNkPp0fU/s1600/prev.png) no-repeat 0 0;
}
#nextBtn a, #slider1next a {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnsQ1RhhT3GRmNFGT9otq80OyC2Pwqq7xrN3pEjwGdgxUz2WSwUT4xN8y3uchRx247ZV6ba1elkwkX7iIn_VqiHTY_bHc2xB732FbCB3JwUWa7eSeLAtn6Z_hKk4iYHPIlhyphenhyphen_ApA1OXok/s1600/next.png) no-repeat 0 0;
}
/* numeric controls */
ol#controls {
margin: 1em 0;
padding: 0;
height: 28px;}
ol#controls li {
margin: 0 10px 0 0;
padding: 0;
float: left;
list-style: none;
height: 28px;
line-height: 28px;}
ol#controls li a {
float: left;
height: 28px;
line-height: 28px;
border: 1px solid #ccc;
background: #DAF3F8;
color: #555;
padding: 0 10px;
text-decoration: none;}
ol#controls li.current a {
background: #5DC9E1;
color: #fff;}
ol#controls li a:focus, #prevBtn a:focus, #nextBtn a:focus {
outline: none;}
/* By www.egytricks.com/ */
5:-Now again Find this tag by using Ctrl+F </body>
6:-Now Paste below code Before </body> tag
/* By www.egytricks.com/ */
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js' type='text/javascript'></script>
<script src='https://egytricks.googlecode.com/files/easySlider1.7.js' type='text/javascript'></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
//]]>
</script>
/* By www.egytricks.com/ */
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js' type='text/javascript'></script>
<script src='https://egytricks.googlecode.com/files/easySlider1.7.js' type='text/javascript'></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
//]]>
</script>
/* By www.egytricks.com/ */
7:- Save template
8:-Now go layout
9:-Click Add Gadget and select 'HTML/Javascript'
NOTE :-You can change numbers of showing post by Changing var numposts_gal = 6;
You can change numbers of post characters by Changing var numchars_gal = 150;
Replace http://www.egytricks.com/ with your site/ URL
10:-Save HTML/Javascript
Like this Post ??? Then Pls Support us ,Share this Post with Friends
THE END
<div id="slider">
<script style="text/javascript" src="http://btrixx.googlecode.com/files/recentslider.js"></script>
<script style="text/javascript">
var numposts_gal = 6;
var numchars_gal = 150;
var random_posts = false; // random posts
</script>
<!-- replace with your web address (marked with red color) -->
<script src="http://www.egytricks.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showgalleryposts&max-results=999999"></script>
</div>
<script style="text/javascript" src="http://btrixx.googlecode.com/files/recentslider.js"></script>
<script style="text/javascript">
var numposts_gal = 6;
var numchars_gal = 150;
var random_posts = false; // random posts
</script>
<!-- replace with your web address (marked with red color) -->
<script src="http://www.egytricks.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showgalleryposts&max-results=999999"></script>
</div>
NOTE :-You can change numbers of showing post by Changing var numposts_gal = 6;
You can change numbers of post characters by Changing var numchars_gal = 150;
Replace http://www.egytricks.com/ with your site/ URL
10:-Save HTML/Javascript
Like this Post ??? Then Pls Support us ,Share this Post with Friends
THE END
thanks alot
ReplyDeletebeen looking for this for a long time
btw i think it will be better if u disable the captcha for commenting(just suggesting)
@codec aud
ReplyDeleteWelcome bro ,,i have activated captcha
just for prevent span comment otheriwse i have no Problem.
it is not working.. hewlp me out plz
ReplyDeletelink http://www.thesoccerplanet.com/
ReplyDeleteCan I increase the size of the widget. I added it to the header and it just covers half the area
ReplyDeleteCan i increase the size?
ReplyDelete