Scrolling recent posts gadget is a best widget to show off recent posts from your blog with a jQuery scroll effect,which grabs attention of of visitors very quickly.Previously I shared a scrolling/ticker recent posts widget but some of you faced some problems while installing it,that's why here I am sharing a new scrolling recent posts widget,which works a with a jQuery spy effect,this is the best feature of this widget.Each snippets of this widget contains title of post,thumbnail of post,date when that post was published and number of comments on that post.Also all of the above options are fully customizable,so that you can easily customize this widget as you wish.Above are the some features of this widget now lets see how to add it into your blogger blog.
Live Widget Demo ▼
How To Add Scrolling Recent Posts Widget To Blogger?
Step 1 -:
This widget works with jQuery spy effect so that we have to add jQuery library to our blog first (Note - Ignore this step if you have already added jQuery library to your blog.)
- Go to Blogger Dashboard > Template
- Click on Edit HTML
- Hit Proceed button
- Find below code in your template
</head>
add below code just above it,
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>
Now you have implemented jQuery library into your blog.Now lets see how to add scrolling recent posts widget to blogger.
Step 2 -:
- Go to Blogger Dashboard > Layout
- Click on Add a Gadget
- Select HTML/JavaScript
Paste below code inside it,
<style type="text/css" media="screen">
<!--
/* ========== Scrolling Recent Posts Widget By helperblogger.com ======== */
#helperblogger-widget {
overflow: hidden;
margin-top: 5px;
padding: 0px 0px;
height: 385px;
}
#helperblogger-widget ul {
width: 295px;
overflow: hidden;
list-style-type: none;
padding: 0px 0px;
margin: 0px 0px;
}
#helperblogger-widget li {
width: 282px;
padding: 5px 5px;
margin: 0px 0px 5px 0px;
list-style-type: none;
float: none;
height: 80px;
overflow: hidden;
background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlDuT8RHzUlwFH4_wVFHAYVYZmHwmY3Mgah6aZeH6D29EqscEaesGl6PjggXZ2fxDPdBBPe7XMj3MR_c9wTnzOZLoGf4o26aBAMajxvkRr3CHwNmugV0bOQbWPVNHuyVWHzAroXt9S9TE/s1600/helperblogger.com-post.jpg) repeat-x;
border: 1px solid #ddd;
}
#helperblogger-widget li a {
text-decoration: none;
color: #4B545B;
font-size: 15px;
height: 18px;
overflow: hidden;
margin: 0px 0px;
padding: 0px 0px 2px 0px;
}
#helperblogger-widget img {
float: left;
margin-top: 10px;
margin-right: 15px;
background: #EFEFEF;
border: 0;
}
#helperblogger-widget img {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
padding: 4px;
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#eee), color-stop(0.5, #ddd), color-stop(0.5, #c0c0c0), to(#aaa));
background: -moz-linear-gradient(top, #eee, #ddd 50%, #c0c0c0 50%, #aaa);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.7);
-moz-box-shadow: 0 0 3px rgba(0,0,0,.7);
box-shadow: 0 0 3px rgba(0,0,0,.7);
}
#helperblogger-widget img:hover {
-moz-transform: scale(1.2) rotate(-350deg);
-webkit-transform: scale(1.2) rotate(-350deg);
-o-transform: scale(1.2) rotate(-350deg);
-ms-transform: scale(1.2) rotate(-350deg);
transform: scale(1.2) rotate(-350deg);
-webkit-box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);
-moz-box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);
box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);
}
.spydate {
overflow: hidden;
font-size: 10px;
color: #0284C2;
padding: 2px 0px;
margin: 1px 0px 0px 0px;
height: 15px;
font-family: Tahoma,Arial,verdana, sans-serif;
}
.spycomment {
overflow: hidden;
font-family: Tahoma,Arial,verdana, sans-serif;
font-size: 10px;
color: #262B2F;
padding: 0px 0px;
margin: 0px 0px;
}
/* ========== Scrolling Recent Posts Widget By helperblogger.com ======== */
-->
</style>
<script language='JavaScript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhF0Q4up4GkDONmI-icTXCPVN7LkP5v8Tr9YkJ2hMjkZAa4Cjnq9_SKDitDgnruyV__WQRGROEkqhLjELvfjjK27d-CjTSgpmNJ8WMPkdN2Y_ecre-ieyfb2J4QhxwMccjNtFzSpqi1Q/s1600/no-thumbnail.png";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhF0Q4up4GkDONmI-icTXCPVN7LkP5v8Tr9YkJ2hMjkZAa4Cjnq9_SKDitDgnruyV__WQRGROEkqhLjELvfjjK27d-CjTSgpmNJ8WMPkdN2Y_ecre-ieyfb2J4QhxwMccjNtFzSpqi1Q/s1600/no-thumbnail.png";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhF0Q4up4GkDONmI-icTXCPVN7LkP5v8Tr9YkJ2hMjkZAa4Cjnq9_SKDitDgnruyV__WQRGROEkqhLjELvfjjK27d-CjTSgpmNJ8WMPkdN2Y_ecre-ieyfb2J4QhxwMccjNtFzSpqi1Q/s1600/no-thumbnail.png";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhF0Q4up4GkDONmI-icTXCPVN7LkP5v8Tr9YkJ2hMjkZAa4Cjnq9_SKDitDgnruyV__WQRGROEkqhLjELvfjjK27d-CjTSgpmNJ8WMPkdN2Y_ecre-ieyfb2J4QhxwMccjNtFzSpqi1Q/s1600/no-thumbnail.png";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhF0Q4up4GkDONmI-icTXCPVN7LkP5v8Tr9YkJ2hMjkZAa4Cjnq9_SKDitDgnruyV__WQRGROEkqhLjELvfjjK27d-CjTSgpmNJ8WMPkdN2Y_ecre-ieyfb2J4QhxwMccjNtFzSpqi1Q/s1600/no-thumbnail.png";
showRandomImg = true;
boxwidth = 255;
cellspacing = 6;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 50;
thumbheight = 50;
fntsize = 15;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = true;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://www.syedkhurramaali.blogspot.com/";
limitspy=4;
intervalspy=4000;
</script>
<div id="helperblogger-widget">
<script src='http://code.helperblogger.com/recent-posts-spy.js' type='text/javascript'></script>
</div>
Now replace http://www.
syedkhurramaali.blogspot
.com/ with your blog URL.
Widget Customizations
As I mentioned above this widget is fully customizable,you can also
customizing it at your own just by reading the properties of the values
such as
numposts
means number of posts
.In
above code I am highlighting some values which you can simply edit
them.Also I highly recommend you that,done all the changes in our HTML
Editor.With using the html editor you can simply customize this widget
as you wish with watching preview of your chnages.Below I am describing some important values,
numposts = 10;
Total number of posts which you wants to scroll by this widgetlimitspy=4;
Number of the posts to appear on the widgetintervalspy=4000;
Scrolling speed of the widget,if you decreased the value speed of widget will increases.
Finally save your all changes and visit you blog to see the working widget.
Please let us know your thoughts on this widget.Peace and Blessings Buddies :)
Don't Forget, Must Follow On Twitter @GoldenWords_UK
17 Comments:
that's is awesome....
http://premium-area.blogspot.com
dude, my widget dont scroll it just show then fades and never repeat please help me, thanks before
This can be cause because presence of two jQuery libraries in your blog.
If yes - then delete one of them
If no - then replace present jQuery code with one which I have preovided above.
How can i find the jQuery libraries in my blog? please help
I think this is not new....
NetInfoz Blog Tips | Tricks
You are right bro, it not new for us but its new for others that's why I have shared it :)
Hey I have checked out your blog and noticed that the widget is scrolling,I think you have fixed it :) Now if you want to adjust the width the add below code inside #skaoceanblogger-widget {
width: 300px;
save it and you are done :)
Thanks SKA. I played with the variables, now I want to move the widget inside my multitab bar but it stopped working properly. I added the noconflict before the head closing tag but did not work.
Actually this is the problem: when the new post slides in at the top, it is crunched crushed too flat. I made the widget itself 1000px but that is not the cause...
I tried combinations of disabling one or two of the jQuery libraries I have but ended up with the temporary solution of enabling all. The recent posts doesn't scroll but it's okay for now unless you can suggest something.
Thanks, brother!
Thanks for sharing! Using it now and it is working beautifully!
I Have Done It As You Say But It Stopped Scrolling After Some Time & Never Scrolls Again....So, What's The Problem...?
My Blog--- http://cheatspedia.blogspot.com/
Your blog have 4 jQuery libraries,delete 3 of them and keep only 1,then try it :)
Not Working Please Tell Me The Write Way To Get Rid Of The Problem.!!!!!!!
Ok then only use the jQuery which I have posted above,delete all of them.If it doesn't work then add below code just before of < / h e a d > tag in your template,
< s c r i p t t y p e = " t e x t / j a v a s c r i p t " >
$ . n o C o n f l i c t ( ) ;
< / s c r i p t >
again mission failed
check out .. you must have added someother widgets with Jquery .. i removed one.. and it again started working..