Re: Effect.Appear

pigfox666-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Thu, 20 Dec 2007 19:22:55 -0000

Thank you!
I''ll try that.

On Dec 20, 9:33 am, "Nicolás Sanguinetti"
<godf...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I''m not really sure you can change the opacity of the body and be
> assured it will work in all browsers, so, one way to do it is place a
> div in the body that takes the entire width and height of the body.
>
>
>
>
>
>
>
> And in the CSS (not sure if it will work out of the box, but it should)
>
> #page_container {
>   width: 100%;
>   height: 100%;
>
> }
>
> And *there are* other ways of running stuff when the page loads :)
>
> In your javascript file
>
> Event.observe(window, ''load'', function() {
>   new Effect.Appear(''page_container'');
>
> });
>
> Best,
> -Nicolas
>
> On Dec 20, 2007 2:42 PM, pigfox...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
<pigfox...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
>
> > I''m trying to have the entire page be loaded smoothly as done
by
> > Effect.Appear.
> > The only way to launch a javascript on load is <body
onload="new
> > Effect.Appear();"> but this does not involve a div.
> > Does anyone know how to have the entire page be affected by
> > Effect.Appear on load?