Log In · Register

 
image slideshow, at the top
ashlovezhockey
post Aug 15 2004, 03:10 PM
Post #1


nuMber 1 h0ckey fAn!
**

Group: Member
Posts: 11
Joined: Aug 2004
Member No: 40,380



ook, i've done this before but haven't found any pics. Now I got the pics and the script from xanga scrips doesn't work!!

here it is:
CODE
<!-- begin code provided by createblog.com -->
<script type='text/javascript'>
// image slideshow by micron
// for more xanga scripts and help go to createblog.com

// set slideshow speed in seconds
var speed = 2;

// set transition duration in seconds (only for ie 5.5+)
var duration = 1;

// set transition effect (only for ie 5.5+)
var transition = 'progid:DXImageTransform.Microsoft.Fade(Duration='+duration+')';

var images = new Array();

// url to your images
images[0] = 'http://url.to/image1.jpg';
images[1] = 'http://url.to/image2.jpg';
images[2] = 'http://url.to/image3.jpg';
images[3] = 'http://url.to/image4.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; }
setTimeout('run()', speed * 1000);
}
</script>
<body onload='run()'>
<!-- end code provided by createblog.com -->


can anyone help me?? thx in advance~
 
 
Start new topic
Replies
sweetxsimplicity
post Aug 15 2004, 05:57 PM
Post #2


hi, my name is brianna! =]
*******

Group: Official Member
Posts: 5,764
Joined: Jun 2004
Member No: 22,114



QUOTE(Levy2k6 @ Aug 15 2004, 2:51 PM)
u SHOULD post the code here so we can see what is wrong, if there is anything wrong with it.

They did post the code here. xD
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: