Oh, I see... I observed the event on the document object and it worked like a charm.
Thank you! Paolo On Nov 25, 1:12 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > Hi, > > You've referenced the correct API page[1] in your post, but your code > isn't using the function you referenced. Have a read through the API > page again. dom:loaded is not a window event. There's a correct > example on that API Page. > > [1]http://www.prototypejs.org/api/document/observe > -- > T.J. Crowder > tj / crowder software / com > > On Nov 25, 12:01 pm, pmontrasio <[EMAIL PROTECTED]> wrote: > > > I assumed that dom:loaded would work on IE6 because I read "on > > unsupporting browsers it simulates it using smart workarounds" > > athttp://www.prototypejs.org/api/document/observebutI'm also > > experiencing problems with it on IE6. Basically, IE6 doesn't fire the > > dom:loaded event. > > > I posted sample code athttp://pastie.org/323398whichworks on FF > > 3.0.4, Safari 3.1.2 and Opera 9.51 (all on WinXP SP2.) > > The pastie loads prototype 1.6.0.3 directly from prototype's server. > > > I'm afraid that I have to keep observing the "load" event unless the > > problem is solved or I understand what I'm doing wrong. > > > Paolo > > > On Nov 18, 8:48 am, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > > > > Hi Jay, > > > > Yup, this is the place. Can you post yourdom:loadedcode, and also > > > the selector code that doesn't seem to be working on Safari? Ideally, > > > a complete but small self-contained example posted to Pastie[1] is > > > good. Also, what version of Prototype (and Safari) are you using? > > > > [1]http://pastie.org > > > -- > > > T.J. Crowder > > > tj / crowder software / com > > > > On Nov 17, 11:14 pm, Jay <[EMAIL PROTECTED]> wrote: > > > > > Hi, I'm just new to the group - it is proper to ask support questions > > > > here? I'm having trouble withdom:loadedonIE6, any ideas where to > > > > look? Everything is fine on Firefox. Another area of trouble seems to > > > > be on Safari (Windows) getting at selectors like $$ > > > > ('table#tblTMRoster'). Again, any ideas for best ways to trace what is > > > > happening - I sure miss Firebug everywhere else. > > > > Thanks, > > > > --Jay --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
