Random Artikel Javascript

Name: Random Artikel Javascript
Rating: 5
Votes: 50
ItemReviewed: Random Artikel Javascript

Random Artikel Javascript, ini berguna jika anda menggunakan atau ingin membuat safelink blogger, bisa menambahkan artikel secara random. siapkan div tempat artikel akan di buat, seperti contoh ini kita harus ada <div id='random-post'></div>
<script type='text/javascript'>
var artikel1 = "https://rawgit.com/VoreCorporation/Customer-Host/master/psb-article/new/artikel1.html",
    artikel2 = "https://rawgit.com/VoreCorporation/Customer-Host/master/psb-article/new/artikel2.html",
    artikel3 = "https://rawgit.com/VoreCorporation/Customer-Host/master/psb-article/new/artikel3.html";

<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script type='text/javascript'>
jQuery(document).ready(function () {
  var a = 3;
  var b = new Date();
  var c = b.getSeconds();
  var d;
  var e = c % a;
  e += 1;
  if (e == 1) {
    d = artikel1;
  if (e == 2) {
    d = artikel2;
  if (e == 3) {
    d = artikel3;

Contoh artikel:

<h2 class="page-header">Bitcoin Trading How-to Guide and Strategies</h2>
<p>Bitcoin’s history of bubbles and volatility has perhaps done more to bring in new users and investors than any other aspect of the crpytocurrency. Each bitcoin bubble creates hype that puts Bitcoin’s name in the news. The media attention causes more to become interested, and the price rises until the hype fades.</p>
<br><center><a href="https://2.bp.blogspot.com/-cM02NLQtDJg/V_Y7G_lYObI/AAAAAAAAEZI/RPgTplYUA6EJ7iB8EuYCSfFeYFbuZFDagCLcB/s1600/bitcoin%2Btrading.png" imageanchor="1"><img class="img-responsive" src="https://2.bp.blogspot.com/-cM02NLQtDJg/V_Y7G_lYObI/AAAAAAAAEZI/RPgTplYUA6EJ7iB8EuYCSfFeYFbuZFDagCLcB/s1600/bitcoin%2Btrading.png" width="400" height="320"></a></center><br>
<p>Each time Bitcoin’s price rises, new investors and speculators want their share of profits. Because Bitcoin is global and easy to send anywhere, trading bitcoin is simple. Compared to other financial instruments, Bitcoin trading has very little barrier to entry. If you already own bitcoins, you can start trading almost instantly. In many cases, verification isn’t even required in order to trade.</p>
<p>If you are interested in trading Bitcoin then there are many online trading companies offering this product usually as a contract for difference or CFD. Avatrade offers 20 to 1 leverage and good trading conditions on its Bitcoin CFD trading program.</p>

<h3>Find an Exchange</h3>
<p>As mentioned earlier, there is no official Bitcoin exchange. Users have many choices and should consider the following factors when deciding on an exchange:</p>
    <li><b>Regulation & Trust –</b> Is the exchange trustworthy? Could the exchange run away with customer funds?</li>
    <li><b>Location –</b> If you must deposit fiat currency, and exchange that accepts payments from your country is required.</li>
    <li><b>Fees -</b> What percent of each trade is charged?</li>
    <li><b>Liquidity –</b> Large traders will need a Bitcoin exchange with high liquidity and good market depth.</li>

Buka notepad-paste, Simpan dengan nama artikel.html, Save as type all All Files(*.*)

Share on Facebook
Share on Twitter
Share on Google+
Notification ! {New!}
Beberapa artikel di blog ini terkadang berisi informasi dari berbagai macam sumber. Hak cipta berupa gambar, teks, dan link sepenuhnya dimiliki oleh web tersebut.
Tags :


Ayo sob di komen, kalau ada salah atau saran, kritik boleh coret coret dibawah, gratis kok!