S
Stephan
Hi everyone.
I'm using Macromedia's " function MM_showHideLayers() " to show a layer,
triggered by an image in the body of the file on load:
<IMG height=380 src="images/verybg.gif" width=185
onload="MM_showHideLayers('Layer2','','show')">
This works fine on the Mac and PC Internet Explorer. Simple.
But, I want to hide the layer after 8 seconds or so. What I did was use
this:
function hideIt() {
timer=setTimeout("MM_showHideLayers('layer2','','hide')",8000);
}
And I trigger "hideIt" by another image in the body like this:
<IMG height=176 src="images/intro.gif" width=190 onload ="hideIt();return
false">
On a PC, this all works fine. The layer shows for about 8 seconds then
hides. On a Mac Internet Explorer, the layer shows, but then does not ever
hide.
What could be wrong? Is there anything Mac IE is very sensitive about that
I'm missing. Is there a better way to hide a layer after a determined time?
Any help would be great.
Jeff
I'm using Macromedia's " function MM_showHideLayers() " to show a layer,
triggered by an image in the body of the file on load:
<IMG height=380 src="images/verybg.gif" width=185
onload="MM_showHideLayers('Layer2','','show')">
This works fine on the Mac and PC Internet Explorer. Simple.
But, I want to hide the layer after 8 seconds or so. What I did was use
this:
function hideIt() {
timer=setTimeout("MM_showHideLayers('layer2','','hide')",8000);
}
And I trigger "hideIt" by another image in the body like this:
<IMG height=176 src="images/intro.gif" width=190 onload ="hideIt();return
false">
On a PC, this all works fine. The layer shows for about 8 seconds then
hides. On a Mac Internet Explorer, the layer shows, but then does not ever
hide.
What could be wrong? Is there anything Mac IE is very sensitive about that
I'm missing. Is there a better way to hide a layer after a determined time?
Any help would be great.
Jeff