Hi Adam, I have tested the dom:loaded alert, and it work fine in IE6. it seems that the problem is elsewhere.
-- david On 24 jan, 12:48, silverweb <a...@newpoint.pl> wrote: > Hi! > > I'm struggling with some script, and I cannot make > document.viewport.getScrollOffsets() and document.observe > ('dom:loaded'...) get to work in IE6 as they do in FireFox... > > My doctype is: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > document.viewport.getX functions return zero, and when I try to alert > ('boo!') when DOM is loaded: > > document.observe("dom:loaded", function() {alert('boo!');}); > > on IE6 I get nothing! :\ > > And I'm on prototype.js 1.6.0.3. On Firefox 3 it is all OK, on IE6 - > no results... :\ > > I even tried other doctypes (as T.J. Crowder suggested > inhttp://groups.google.com/group/prototype-scriptaculous/browse_frm/thr...), > but it didn't help. > > What should I do? :\ > > Thanks, > Adam --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---