You are viewing a post by andHa. View all 550 posts in [b](UPDATED : NULL PROBLEM, FIXED)[/b] This is another code that i got from [url=http://www.dynamicdrive.com]DYNAMIC DRIVE[/url] just want to share it with u guys. here is the tutorial to apply the.
[b]@mark[/b]
i found this in the code.
[quote]// PUT THE URL OF IMAGES IN THE BOLD PART BELOW, SEPERATED BY COMMAS
var wipe_imgs=new Array(
'http://i115.photobucket.com/albums/n308/neverwinter3/iWantToBeWithYouForever.jpg,http://i115.photobucket.com/albums/n308/neverwinter3/keepaway.jpg,http://i115.photobucket.com/albums/n308/neverwinter3/emo.jpg
);
if (document.images) {
var theImgs=new Array();
for (var i=0;i<wipe_imgs.length;i++) {
theImgs[i]=new Image();
theImgs[i].src=wipe_imgs[i];
}
}[/quote]
u forgot to put the single quote at the end of the image url.
make it like this.
[quote]// PUT THE URL OF IMAGES IN THE BOLD PART BELOW, SEPERATED BY COMMAS
var wipe_imgs=new Array(
'http://i115.photobucket.com/albums/n308/neverwinter3/iWantToBeWithYouForever.jpg,http://i115.photobucket.com/albums/n308/neverwinter3/keepaway.jpg,http://i115.photobucket.com/albums/n308/neverwinter3/emo.jpg'
);
if (document.images) {
var theImgs=new Array();
for (var i=0;i<wipe_imgs.length;i++) {
theImgs[i]=new Image();
theImgs[i].src=wipe_imgs[i];
}
}[/quote]
just try it.
and report me the result