window.addEvent('load' ...) works fine for me.
Regards
Rajeev J Sebastian
On Fri, Sep 26, 2008 at 4:20 AM, Jon Hack <[EMAIL PROTECTED]> wrote:
>
> Hi Garrick, I understand the use of the domready. I actually have a
> section of code that runs on domready. But what I want is for some
> things to happen when the dom is ready, and one particular thing
> should happen once everything (images and all) is loaded.
>
> Does that make sense?
>
> Jon
>
> On Sep 24, 5:33 pm, Garrick <[EMAIL PROTECTED]> wrote:
>> Then how about:
>>
>> window.addEvent('domready', function(){
>> var image_group = new Group($$(document.images));
>> image_group.addEvent('onComplete', function(){
>> //do stuff here
>> });
>>
>> });
>>
>> The docs say 'onComplete' but I'm not sure if 'complete' works as
>> well?
>>
>> On Sep 24, 1:23 pm, "Nathan White" <[EMAIL PROTECTED]> wrote:
>>
>> > it doesn't have to be 'domready'. what if I want to make sure the images
>> > are
>> > loaded before execute my script?
>>
>> > Have you made sure you have the latest version? I personally haven't had
>> > issues with this
>