function hideIt() -does not work in MAC IE??? Help

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
 
J

Jim Ley

I'm using Macromedia's " function MM_showHideLayers() " to show a layer,
triggered by an image in the body of the file on load:

With commercial products, it's always best to get commercial support,
after all, if it's a bug in their software they'll want to know about
it to get it fixed.
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?

Nothing obvious, but it's presumably the onload not firing...

Jim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top