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 in
http://groups.google.com/group/prototype-scriptaculous/browse_frm/thread/e2eb4868b15f3586/c458a823970d8cd0?hl=en&lnk=gst&q=document.viewport+ie6#c458a823970d8cd0),
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to