Try loading at least Prototype up in the head of your page, and moving  
your dom:loaded observer up there right after it. That should get the  
effect you're after, where the script fires before the page is  
visible. Depending on what else you have going on in the way of  
external scripts, you may need to move them up before that point, but  
you should be able to do all sorts of things before the page becomes  
fully visible.


On Dec 12, 2008, at 3:59 PM, Rauan Maemirov wrote:

> I'm loading all my scripts almost at the bottom of html and right
> after them observing 'dom:loaded' event. But it initializes only when
> all content is loaded (including all images). Is it okay? How can i
> avoid that waiting all images loading?
> >

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to