In 1.6:

document.observe('contenloaded', function(){ ... });

best,
thomas

Am 22.09.2007 um 04:38 schrieb JAWspeak:

>
> I'm looking for an event handler in Prototype (or plain old
> JavaScript)  similar to onContentReady() in the YUI library: (see
> http://developer.yahoo.com/yui/examples/event/event-timing.html)
>
> How can I implement this? If I'm not mistaken, my testings showed the
> document.onLoad() happens too early (as soon as the page loads it
> fires, even before some dom elements are on the page and accessible).
>
> Thanks in advance,
>
> jaw
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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