chris_angell
10-02-2002, 04:06 PM
HELLO :(
I am trying to take this script, a simple script that swaps images;
function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
but I am now trying to get it so the images fade in as well and out if possible, at the moment they just change, I have been trying but recently my brain doesn't work :confused:
here is what I tried :(
function movepic(img_name,img_src) {
img_name.filters.alpha.opacity=img_src.filters.alpha.opacity+10
setTimeout(+ ')',100)
}
I just gave up
if you can help, that will be great .. thanks
I am trying to take this script, a simple script that swaps images;
function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
but I am now trying to get it so the images fade in as well and out if possible, at the moment they just change, I have been trying but recently my brain doesn't work :confused:
here is what I tried :(
function movepic(img_name,img_src) {
img_name.filters.alpha.opacity=img_src.filters.alpha.opacity+10
setTimeout(+ ')',100)
}
I just gave up
if you can help, that will be great .. thanks