On Tuesday 28 July 2009 03:09:32 pm DJ Mangus wrote:
> document.observe("dom:loaded", function() {
>   // initially hide all containers for tab content
>   $$('div.tabcontent').invoke('hide');
> });
>
> Note: you can of course do anything you want in that function.  The
> function runs when everything is loaded and available to javascript.

Forgive me if I'm being naive, but I'm not quite following this one.

>
> On Tue, Jul 28, 2009 at 12:02 PM, dmcglone<d.mcgl...@att.net> wrote:
> > Hi everyone,
> >
> > I'm new to scriptaculous and javascript. I've followed the examples
> > on
> > scriptaculous web site, but I can't find any examples implement the
> > events
> > without them being links, such as when the page loads.
> >
> > currently what I'm trying to do is make a block of text fade in on the
> > page
> > when it loads. I've already got 1 script that I am playing with that
> > zooms the
> > header in, and the only way It works is to add a tag to the body tag
> > of the
> > document This seems to not allow me to add other stuff to the page
> > unless they
> > are links.
> >
> > My goal is to learn how to load more than 1 element on a page with 2
> > or more
> > effects.
> >
> > My Google searches have turned up fruitless, does anyone know of any
> > good
> > tutorials or such?

-- 
Blessings,
David M.
http://www.dmcentral.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to