The one and only way to pre-hide stuff with Prototype and therefore
script.aculo.us is a small sin: use inline style="display: none" on
your element's HTML.
--------------------------------------
I discovered this by trial-and-error myself, but I never took it so far as to
understand *why* hiding a div with a class doesn't
work with Effect.Grow.
Anyone know?
Sam
.hide {display:none}
<div class=".hide">... Whatever</div>
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---