FriendsterAddictz
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  portal1portal1  GalleryGallery  SearchSearch  Latest imagesLatest images  Link Rotation  Donate  RegisterRegister  Log inLog in  


Global Announcement

FriendsterAddictz Forum is on-search for Moderators. For more information, click THIS.
Please promote FriendsterAddictz Forum.


 

Animated Primary Photo

View previous topic View next topic Go down 
Author Message
kmaey
Activated
kmaey

Male
Age : 33 Registration date : 2008-10-25 Number of posts : 20 Location : INDONESIA



Animated Primary Photo Vide
PostSubject: Animated Primary Photo   Animated Primary Photo Icon_minitimeSat Oct 25, 2008 11:57 pm

her is ti tih code:
Quote :
//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 preload[n] = [];
preload[n].setAttribute("src",""+this.randimage[n]+"");
}
this.randimage[0] = "URL PHOTO1";
this.randimage[1] = "URL PHOTO2";
this.randimage[2] = "URL PHOTO2";
this.randimage[3] = "URL PHOTO4";
this.randimage[4] = "URL PHOTO5";
this.randimage[5] = "URL PHOTO6";

this.image = document.createElement("DIV");
this.image.setAttribute("class","randImg");
this.image.innerHTML = "";
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 if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};
note:
Code:
change url phot 1 - your url photo

paste this code in section C in ur JS file
Back to top Go down
- JoyChristian -
Moderator
- JoyChristian -

Male
Age : 30 Registration date : 2008-07-14 Number of posts : 611 Location :



Animated Primary Photo Vide
PostSubject: Re: Animated Primary Photo   Animated Primary Photo Icon_minitimeSun Oct 26, 2008 7:13 am

thank y0u f0r sharing it here :)
Back to top Go down
kmaey
Activated
kmaey

Male
Age : 33 Registration date : 2008-10-25 Number of posts : 20 Location : INDONESIA



Animated Primary Photo Vide
PostSubject: Re: Animated Primary Photo   Animated Primary Photo Icon_minitimeSun Oct 26, 2008 4:16 pm

thnx to
this codei made in FTI
Back to top Go down
arneldayao
FA Newbie
FA Newbie
arneldayao


Age : 32 Registration date : 2008-08-26 Number of posts : 1 Location :



Animated Primary Photo Vide
PostSubject: Re: Animated Primary Photo   Animated Primary Photo Icon_minitimeThu Dec 11, 2008 12:57 pm

hello san ko yan i-paste? Animated Primary Photo 225436
Back to top Go down
ridz
FA Newbie
FA Newbie
ridz

Male
Age : 38 Registration date : 2008-12-27 Number of posts : 3 Location :



Animated Primary Photo Vide
PostSubject: Re: Animated Primary Photo   Animated Primary Photo Icon_minitimeSat Dec 27, 2008 11:27 pm

thankz your share .................... lol!


promo fs ach............................. Animated Primary Photo 31170
Animated Primary Photo 31170


add me fs ok http://h1.badwaresite.www/ridz/kucrut1.html
Back to top Go down
LoVesKi
Activated
LoVesKi

Female
Age : 51 Registration date : 2008-05-02 Number of posts : 9 Location : California



Animated Primary Photo Vide
PostSubject: Re: Animated Primary Photo   Animated Primary Photo Icon_minitimeThu Mar 05, 2009 11:53 am

Thanks for Sharing :)
Back to top Go down
Sponsored content








Animated Primary Photo Vide
PostSubject: Re: Animated Primary Photo   Animated Primary Photo Icon_minitime

Back to top Go down

Animated Primary Photo

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum: You cannot reply to topics in this forum
FriendsterAddictz :: FRIENDSTER SECTION :: Friendster Codes and Tutorials -