Sabtu, 25 Februari 2012


<script type="text/javascript">
function load(jumlah){
  var idblogkamu = '7217878948793284544';
  var alamat = 'http://www.blogger.com/feeds/'+idblogkamu+'/posts/default?alt=json-in-script&max-results='+jumlah;
  lodtop(alamat);
}

function kimzigr(pos){
  for(z in pos.feed.entry){
    for(y in pos.feed.entry[z].link){
      if(pos.feed.entry[z].link[y].rel == 'alternate'){
        var linkPostingan = pos.feed.entry[z].link[y].href;
        var judulPostingan = pos.feed.entry[z].link[y].title;
      }
    }
    if(linkPostingan==window.location.href){
      document.getElementById('top').innerHTML+='<marque scrollamount="2" class="item-title"><a class="judul" href="'+linkPostingan+'" style="color:white; background-color:skyblue;">'+judulPostingan+'</a></marquee>';
    }else{
      document.getElementById('top').innerHTML+='<span class="item-title"><a class="judul" href="'+linkPostingan+'"> - '+judulPostingan+'</a></span>';}
  }
  for(a in pos.feed.link){
    if(pos.feed.link[a].rel == 'next'){
      var alamat = pos.feed.link[a].href;
    }
  }
  if(alamat){
    document.getElementById('mor').innerHTML='<a class="uiButton" onClick="lodtop(''+alamat+'')" style="cursor:pointer;"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8Ml2f97GJyk8Vx4mu2oIjsTpwcFZqZ4r8-NmpKposDka6gYy5PTsxjzHny54Jevqce1UQa9tZddUP6N3I4213JelgP9CAhKORV7EXebC4xUjNaP2tH6LpFjlbXn-k90qa_0ViASPbahU/s1600/1311989759_go-topkim.png"/></a>';
  }else{
    document.getElementById('mor').innerHTML='<a class="uiButton" href="#top" style="cursor:pointer;"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ2-FkbcXOQsPzmJr6jOWJyd6WSRe70Qnjl9xXvaRM0BCOgQrV6ySt9GGWIXDbLH680iRoXxgja6AbefgJPwhoo51cN-8KdVf6F4Rkkbzs3WVysHBROBbTL9-hZc-dRwJCLZKVDLgqWbQ/s1600/1311989759_go-top.png"/></a>';
  }
}
function lodtop(alamat){
  document.getElementById('mor').innerHTML='<img src="http://s3.camelcamelcamel.com/images/loading.gif"/>';
  var sengkrip = document.createElement('script'); 
      sengkrip.async = 'true';
      sengkrip.src = alamat+'&callback=kimzigr';
  document.getElementById('longfield21').appendChild(sengkrip);
}
load(15);
</script>

7 komentar:

© Copyright 2012 kimzigr. All rights reserved. 6linie Created by Kimzigr— Ultah Nida. Proudly powered by Blogger.