Please Wait While I Load My Page   

Creating a Random Post On Blog

Creating a Random Post - Have you heard about the random post..? Well, he... Posts that can be displayed at random. Who were randomized wrote here is the title of her posts. There is much to put recent post (including this blog he..e..), Whereas the front page already displayed the same title. Rather than showing recent post, wrote'd better install these gadgets is Random Post. How to make it pretty easy.. You just follow these steps:

1. Login to blogger.
2. Then select Design
3. Add gadgets
4. Click on Edit HTML and JavaScript
5. Enter the code below:


<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ul style="text-transform: capitalize;">');
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write('</ul>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&_id=ac99ebe0691031008a48d750fdbeaa67&url=http%3A%2F%2Fyourblog.blogspot.com&num=10" type="text/javascript"></script>
<span style="gt;Widget edited by <a href="http://tipsbee.blogspot.com/">Get Widgets/a></span>


6. Replace the red text with your blog URL.
7. Save the code

Description:
Number 10 in the code indicates the number of posts that appear at random! Or Generate it here .. 


Good Luck

0 comments:

Post a Comment

 

Tips Bee Copyright © 2012