Guys can anyone tell me what is wrong with this a basic fade in or out effect in javascrtipt. That is what I have but it doesn't do anything. I want images to fade out as next image loads for my slideshow.
function autoChangeHandler() {
imageTimerId = setInterval("processNext()", 2000);
document.getElementById("bigPic").style.filter="blendTrans(duration=2)";
document.getElementById("bigPic").filters.blendTrans.apply();
document.getElementById("bigPic").filters.blendTrans.play();
}
processNext() is just a function that gets the next image in the array.
function autoChangeHandler() {
imageTimerId = setInterval("processNext()", 2000);
document.getElementById("bigPic").style.filter="blendTrans(duration=2)";
document.getElementById("bigPic").filters.blendTrans.apply();
document.getElementById("bigPic").filters.blendTrans.play();
}
processNext() is just a function that gets the next image in the array.