Random primary

Mau Javascript Randon primari friendster?? nih ada script yang aku minta dari mas famutz copy ajah neh scrip truz linker pake app yang aku sediakan add app
//Animated Primary Photo if (!attachOnLoadHandler(function() { randImage();})) window.onload = function() { randImage();}; function randImage() { RANDOMIMG.init(); } if (typeof RANDOMIMG == "undefined") { RANDOMIMG = {}; } RANDOMIMG = { image: [], sibling: [], randimage: [], init: function() { var preload = []; for (var n=0;n<this.randimage.length;n++) { preload[n] = []; preload[n].setAttribute("src",""+this.randimage[n]+""); } this.randimage[0] = "http://photos.friendster.com/photos/94/00/74790049/1_140867413l.jpg"; this.randimage[1] = "http://photos.friendster.com/photos/94/00/74790049/1_863533249l.jpg"; this.randimage[2] = "http://photos.friendster.com/photos/94/00/74790049/1_333742624l.jpg"; this.randimage[3] = "http://photos.friendster.com/photos/94/00/74790049/1_508783292l.jpg"; this.randimage[4] = "http://photos.friendster.com/photos/94/00/74790049/1_430618768l.jpg"; this.randimage[5] = "http://photos.friendster.com/photos/94/00/74790049/1_548901944l.jpg"; this.image = document.createElement("DIV"); this.image.setAttribute("class","randImg"); this.image.innerHTML = "<img name=\"defaultimage\" width=\"200\" height=\"250\" src=\""+this.randimage[Math.floor(Math.random()*(this.randimage.length))]+"\">"; this.sibling = this.getModuleByClassName(/imgblock200/i)[0]; this.sibling.parentNode.replaceChild(this.image,this.sibling); setInterval("RANDOMIMG.rotateimage()", 2*1000); }, rotateimage: function() { var ind = 0; if (ind == (temp = Math.floor(Math.random()*(this.randimage.length)))) { ind = (ind == 0) ? 1 : ind - 1; }else { ind = temp; } document.images.defaultimage.setAttribute("src",""+this.randimage[ind]+""); }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } };
Text Warna merah "http://photos.friendster.com/photos/94/00/74790049/1_863533249l.jpg" Ganti dengan URL Image Kamu. untuk tambah photo tinggal tambahin link aja di bawahnya. mudah kan? lihat di friendster kuudah berhasil.. good luck friendster mania

Random primary

Random primary ditulis oleh
10/10 based on 10 ratings from 10 reviewers

3 comments:

  1. walah bingung aku nak musuh script ngono kwi, ra mudeng blas :D

    ReplyDelete
  2. lek bingung sik di matne disek mass

    ReplyDelete

Silahkan berkomentar sesukamu! Mau sopan, jorok karepmu asal di tanggung sendiri! Salam hangat
Yuda Taufiqurrahman
| Jidat Bukan Pahlawan