document.all doesnt exist in w3c specifications there for FF doesnt
know about it
use document.getElementById instead, and it will work in both browsers

2005/11/15, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> i guess you could try moving it to -1000px or something like that. might
> be a work around at least..
>
> Gregory_GOusable wrote:
> > Hello Flashcoders,
> >
> >   I have a DIV layer (named 'my_layer') which is over HTML page.
> >    Then I want to hide it using Js call as
> >    getURL("javascript:hideLayer();");
> >
> >   Javascript:
> >   =============
> > function hideLayer() {
> > document.all('my_layer').style.visibility='hidden';
> > }
> > =============
> >
> > It works nice in IE and Opera, but for some reason (?) doesn't work in
> > Mozilla (I tested with Mozilla 1.7.3)
> > Mean while it hides the swf, the links at HTML page are still not
> > clickable.
> >
> > Any idea?
> >
> >
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to