Random Post for Novice Bloggers. Want a long article we look again. there may be significant that the article overlooked by visitors to your blog.This is the best solution. Use the widget below. It is very easy to please try this novice blogger Random post:
1. Log in to blogger.
2. In Dashboar click Draft.
3. Kemudain click add gadget, gadget Add Html / Javasricpt.
4. Then copy-paste the HTML code below this.
5. Remember !!! Last Click save.
<div style="padding: 1px; width: 280px; height: 200px; overflow: auto; background-color: #ffffff; border: 1px solid rgb(255, 255, 255);"><script type="text/javascript">
var randarray = new Array();var l=0;var flag;
var numofpost=12;function randomposts(json){
var total = parseInt(json.feed.openSearch$totalResults.$t,10);
for(i=0;i < numofpost;){flag=0;randarray.length=numofpost;l=Math.floor(Math.random()*total);for(j in randarray){if(l==randarray[j]){ flag=1;}}
if(flag==0&&l!=0){randarray[i++]=l;}}document.write('<ul>');
for(n in randarray){ var p=randarray[n];var entry=json.feed.entry[p-1];
for(k=0; k < entry.link.length; k++){if(entry.link[k].rel=='alternate'){var item = "<li>" + "<a href=" + entry.link[k].href + ">" + entry.title.$t + "</a> </li>";
document.write(item);}}
}document.write('</ul>');}
</script>
<script src="/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&
callback=randomposts" type="text/javascript"></script></div><br/><small>Created By: <a href='http://edughoni.blogspot.com/'>edughoni random post</a></small></div>
You can edit the code, customize to your blog sidebar widght height and width: 280, Height: 200.
Background-Staining can also be changed in accordance with your favorite color of the above code can be edited: # ffffff.
-If you want a lot of his post can be added randomly or less, the code above 12.
Good luck tutorial Beginner Random Post blogger happy blogging.
Page Information Article
Title: Simple-Random Post for Novice Bloggers
URL: http://edughoni.blogspot.com/2011/07/random-post-for-novice-bloggers.html
0 komentar:
Posting Komentar
Thank for coming, dont Spam !!