Hej jeg er ny i det her med java jeg bruger dette script til mit slide, men vil gerne have lavet en fader effekt men hvordan ?? er der nogen der har et forslag
/*
Script by FPMC at
http://jsarchive.8m.comSubmitted to JavaScript Kit (
http://javascriptkit.com)For this and 400+ free scripts, visit
http://javascriptkit.com*/
//set image paths
src= "photo/image 1.jpg",
"photo/image 2.jpg",
"photo/image 25.jpg"]
//set duration for each image
duration = 2;
//Please do not edit below
ads=[]; ct=0; run=true;
function switchAd() {
if (run){
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;
}
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
setTimeout("switchAd()",duration*1000);
}
else
setTimeout("switchAd()",duration*10);
}
onload = function(){
if (document.images)
switchAd();
}