Saturday, 9 May 2015

How To Install Widget Random Blog Post

How to Install Widget Random Blog Post - Random Post a random posts will we show in the blog widget. Not a few bloggers who use this widget to help visitors view the article they were looking for.
Very easy to install widgets random post, especially for beginners like us.
Immediately, we discuss how to install the widget random blog post, the following steps:


1. Log in to Blogger.

2. Copy the code below:
<Script type = "text / javascript">
 var randarray = new Array (); var l = 0; var flag; numofpost var = 10;
randomposts function (json) {var total = parseInt ($ totalResults json.feed.openSearch. $ 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 and start-index = 1 & max-results = 1000 & callback = randomposts" type = "text / javascript">
</ Script>
<Div style = "clear: both; font-size: 8px; text-align: right;">
<a target="_blank" href="http://www.anggerpdsw.blogspot.com/2014/11/cara-memasangkan-widget-random-post-di.html"> Random Post </a>
<a href="https://www.facebook.com/groups/715418305171041/"> Kids SSH Solo </a>
</ Div>
3. Paste in widget HTML / JavaScript (Layout >> Add Gadget >> HTML / JavaScript). Red code (numofpost = 10;) can you change the numbers. it determines the number of posts that will appear.
More details look at the picture below:
How to Install Widget Random Blog Post - Random Post a random posts will we show in the blog widget. Not a few bloggers who use this widget to help visitors view the article they were looking for.



4. Save and Finish. Move widget layout according to your desire.



Do not Forget To Click Ads Help Available In Blog All About Tutorials ^ _ ^

Thus, hopefully useful, join the Facebook Grup 

NB: Please help if you can report dead links to BB PIN: 288BA288
Or can be via the comments below ...
That is all and thank you
Greetings Newbie ^ _ ^

No comments:

Post a Comment