Sorry for posting this question... I've found the solution myself: it's better use document.getElementById in Mozilla and a number of tricks for old browsers etc. As we all know, "All javascript consists of tricks and hacks only" ;-).
Thanks for everyone who tried to help. -- Best regards, Gregory_GOusable ================================ http://GOusable.com Flash components development. Usability services. > -----Original Message----- > 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

