http://www.prototypejs.org/api/element/show
Sadly, doesn't look like there's much you can do. -- T.J. Crowder tj / crowder software / com On Mar 10, 6:08 am, Michael Sharman <[EMAIL PROTECTED]> wrote: > Hi guys, > > If I hide an element using CSS (display:none;) it seems I cannot show > the element using either; > > - $('myEl').show(); > - $('myEl').addClassName('showElement'); > > Where the CSS class 'showElement' is basically display:block; > > Does anyone know a way around this? It works if I add the CSS inline > like: > > <div id="myEl" style="display:none;"> > > But I'd rather not have that cluttering my markup. > > Thanks in advance, > > Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---