Cara Bikin Gambar Rotasi/Random dengan javascript

Javascript Bikin Gambar Rotasi/Random ini alternatif bikin banner bagi yang males edit-edit gambar...:D
Berikut Contoh Gambar Rotasi/Random dengan javascript :
  1. Copypaste kode dibawah ini: 
  2. <script type="text/javascript"> var imgs1 = new Array("http://2.bp.blogspot.com/-NGlrWuIJPFA/Tdpu9IWkD4I/AAAAAAAAAoQ/K615-wFrvTo/s1600/facebook_freezer_V2.jpg","http://3.bp.blogspot.com/_Bq4uUL7i7yc/TMAo8kcO8CI/AAAAAAAAABY/VUTVuDiNKmg/s320/pro+facebook+hack.png","http://2.bp.blogspot.com/-YK8igqSbyxE/TesOKZDCKKI/AAAAAAAAApQ/8cBimefBAvg/s200/backlinkboomber.jpg","http://2.bp.blogspot.com/-sLmTLn2mVX4/TgVwGaOzLjI/AAAAAAAAApg/sYA6RcX9VtU/s1600/autoblogsamurai.jpg","http://2.bp.blogspot.com/-Aj_ntiDTP0Y/TcdXkpyU07I/AAAAAAAAAno/_dCb0adPPDM/s1600/deep+linker+pro.jpg"); var lnks1 = new Array("http://metalcorr.blogspot.com/2011/05/facebook-freezer-software-terbaru-2011.html","http://metalcorr.blogspot.com/2011/05/hacking-facebook-dg-pro-facebook-hack-v.html","http://metalcorr.blogspot.com/2011/06/download-software-backlink-profile.html","http://metalcorr.blogspot.com/2011/06/download-autoblogsamurai-full.html","http://metalcorr.blogspot.com/2011/05/deep-linker-pro-dapatkan-backlink.html"); var alt1 = new Array("Facebook Freezer Software Terbaru","Pro Facebook Hack v 1.5 dan Matrix","Download Software Backlink Profile Forum","Software Autoblog Samurai Portable","Deep Linker Pro"); var currentAd1 = 0; var imgCt1 = 5; function cycle1() { if (currentAd1 == imgCt1) { currentAd1 = 0; } var banner1 = document.getElementById('adBanner1'); var link1 = document.getElementById('adLink1'); banner1.src=imgs1[currentAd1] banner1.alt=alt1[currentAd1] document.getElementById('adLink1').href=lnks1[currentAd1] currentAd1++; } window.setInterval("cycle1()",1000); </script> <a href="http://metalcorr.blogspot.com/2011/04/bikin-artkel-mudah-dengan-spinnerchief.html" id="adLink1" target="_blank"> <img src="http://2.bp.blogspot.com/-NkjP4-OAAUU/TbUG6gIu9uI/AAAAAAAAAl8/zzvB_TxgLQM/s200/spinnerchief.jpg" id="adBanner1" border="0" width="250" height="250" /></a>
  3. Cara Pasangnya ganti Url Gambar, Url WEBSITE, dan TEXT kode diatas sesuai urutan lalu PASTE di Blog Anda

Copyright © / Rahasia SEO Blog™

Powered by :blogger