You can also put an inline style on the element

style="display:none;"

Gareth


On 3/8/07, Aaron Roberson <[EMAIL PROTECTED]> wrote:
>
>
> Oops... should be something like display = 'none';
>
> -Aaron
>
> On 3/7/07, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> > Event.observe(window, 'load', init, false);
> >
> > function init() {
> >        document.getElementById('myDIV").style.display = 'hidden';
> > };
> >
> > Try that...
> >
> > HTH,
> > Aaron
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to