Sorry so basic. I just can’t figure out why this is (not) happening in IE 6.0 (the only browser I have tried it on). I am trying to delay a function. SetTimeout executes the function and passes its parameters fine, but there is no delay. I added the following as the first function in a javascript file:
[COLOR=DarkRed]function p4hOpacity(p4hDelay,zxcm,zxcsrt,zxcfin,zxcd,zxcstp){
setTimeout(zxcEleOpacity(zxcm,zxcsrt,zxcfin,zxcd,zxcstp),p4hDelay);
}
I call it from inside my HTML file by:
[COLOR=DarkRed]<body onload=”p4hOpacity(3000,’clover’,1,100,100,50);”>
=No anticipated 3-second delay.
Yet it calls the zxcEleOpacity function fine and fades in the image, just as it did before I added the delay function.
The code I added the function to was from vwphillips (thanks), found at the bottom of thread:
[COLOR=DarkOliveGreen]