> > Does anyone have a quick js to make an invisible layer visible when > > clicking a button? > > document.getElementById('myLayer').className = "aClassStyledToBeVisible";
That is a bit out of context.... http://www.onlinetools.org/articles/unobtrusivejavascript/cssjsseparation.html Shows an example. Personally I don't think it is a good idea to hide things with CSS and expect JS to be available to show them. Hiding them with the same technology as you show them is a safer bet. -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/