Comments Utility

Sunday

Random Background for Your Blog (updated)

<script type="text/javascript">
//Bikin function biar script bisa di panggil dari luar
function gantiWolPep(){
  //Bikin Array buat daftar wallpapers
  var emoWalPep=[
    "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGOgSAX1aqYDCIGLdVCErBPilT2DUm2MEbu8AF6A0MoQoIJn5_m_i2ilDubKoN6_sdEoYyzp-XEiaT0DODpHsse5751nt2ml3_Oi4Icvf9lRjtcef9XEOK7c4sHIpNiLaOEJOoGKYrbIM/s1600/Emo_Wallpapers_78+%28darkwallz.blogspot.com%29.jpg", 
    "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwNWyLbPf55gnHNVa2mWa5cSS8KSyWF5zOC2vjWSs50-OxITAumckWDS00D8PiDOuQZJMEjM1CeFaiqLOUoKcdK-PYFOX8rHn0z46yF51yJ96_XfhBMCKZEygfUjMDBhiWsuMygM0NQf4/s1600/Emo_Wallpapers_71+%28darkwallz.blogspot.com%29.jpg", 
    "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdqy2fyJfwx1N2cvU6-a89FarEGSBK69qjK_5jjErreZos2EGoZicRPPsk3tTYGKS9aNDlGC945UO1-0MftRp9cjELI1HgGpYmv__kA8gvqCfYEJNR9IHNqKbfhhUPxvwbcmnItwVwOlg/s1600/Emo_Wallpapers_63+%28darkwallz.blogspot.com%29.jpg"
  ];
  //Acak urutan daftar wallpapers pake Math.random()
  emoWalPep=emoWalPep.sort(function() {return 0.5 - Math.random()});
  //Ganti background body dengan warna latar transparent, gambar ngulang ke bawah, gak ikut nge-gulung, vertikal top horizontal tengah
  document.body.style.background='transparent url('+emoWalPep[0]+') repeat-y fixed top center';
  //Ukuran background menuhin lebar ke samping
  document.body.style.backgroundSize='100%';
}
//Langsung ganti wallpaper pas halaman di load
gantiWolPep();
</script>

<!-- Tombol buat ganti wallpaper -->
<center><a onClick="gantiWolPep()" style="cursor:pointer;" class="uiButton">Gentos Kertas Bilik</a></center>


..Monggo diCobian..

Gentos Kertas Bilik

0 komentar:

Post a Comment

  • Digg
  • del.icio.us
  • StumbleUpon
  • Yahoo! Buzz
  • Technorati
  • Facebook
  • TwitThis
  • MySpace
  • LinkedIn
  • Google
  • Reddit
  • Netvibes

Page Logo




Terimakasih Sudah Berkunjung . . .
© ™Berbagi Untuk Kebersamaan™ @

Terima kasih Untuk Klik Like nya

BackLink



Page Ranking Tool Ping your blog, website, or RSS feed for Free Antispam
Design by Si WonkCopyright © 2012 @Si_W0nk | Powered by Blogger