lovexsick5
08-07-2005, 03:26 AM
hmm so, in this girl's custom module she put her friend's pictures in it & i wanted to know how she made them move like that? i can't think of the word for it, oh well =)
http://www.xanga.com/home.aspx?user=omfg_heckyes
thanks
cookie_maker
08-07-2005, 11:01 AM
I think this should be in the Graphics section....but anyway I'm not a moderator.
To make things "move" (a.k.a: animate)
You need an animation program
http://www.whitesoftdev.com/unfreez
You can find a free one as in above ^ ^
Sheila
08-07-2005, 11:12 AM
http://www.dynamicdrive.com/dynamicindex14/flexislide.htm
more:
http://www.dynamicdrive.com/dynamicindex14/
lovexsick5
08-08-2005, 05:28 AM
actually, i found the code:
<script type='text/javascript'>
// set slideshow speed in seconds
var speed = 5;
// set transition duration in seconds (only for ie 5.5+)
var duration = 5;
// set transition effect (only for ie 5.5+)
var transition = 'progid:DXImageTransform.Microsoft.Fade(Duration=' +duration+')';
set=setTimeout;
var images = new Array();
// url to your images
images[0] = 'http://img.photobucket.com/albums/v137/xx69kutie69xx/joey.jpg';
images[1] = 'http://img.photobucket.com/albums/v137/xx69kutie69xx/andrea.jpg';
images[2] = 'http://img.photobucket.com/albums/v137/xx69kutie69xx/lauren.jpg';
images[3] = 'http://img.photobucket.com/albums/v137/xx69kutie69xx/krallster.jpg';
images[4] ='http://img.photobucket.com/albums/v137/xx69kutie69xx/jackie.jpg';
images[5] ='http://img.photobucket.com/albums/v137/xx69kutie69xx/franandandrea.jpg';
images[6] ='http://img.photobucket.com/albums/v137/xx69kutie69xx/beckyandkaitlyn.jpg';
images[7] ='http://img.photobucket.com/albums/v137/xx69kutie69xx/andrew.jpg';
images[8]='http://img.photobucket.com/albums/v137/xx69kutie69xx/leslieee.jpg';
// do not edit anything below this line
var preload = new Image();
for (var i = 0; i < images.length; i++) {
preload[i] = new Image();
preload[i].src = images[i];
}
document.write('<img src='+preload[0].src+' name="slideShow">');
var j = 0;
function run() {
if (document.all) {
document.images.slideShow.style.filter=transition;
document.images.slideShow.filters[0].Apply();
}
document.images.slideShow.src = preload[j++].src;
if (document.all) { document.images.slideShow.filters[0].Play(); }
if (j == images.length) { j = 0; }
set('run()', speed * 1000);
}
</script>
<body onload='run()'>
thanks though :)
lovexsick5
08-11-2005, 01:06 AM
where do u put the code
I have premium, so I put it in my Custom Module. Where did you want to put the slideshow?