Hiya,

Since I discussed some of the issue with the new
Event.observe('contentloaded', ...);
http://groups.google.com/group/prototype-core/browse_thread/thread/7585f524ad59a987

  1) window.onload trigger being called while still executing
"contentloaded" callbacks...
  2) preserve proper first in - first out event handler order (IE
sometimes gets them mixed up); (fixed with Event.ensureOrder() )
  3) is a way to fix "contentloaded" and IE resize callback issues.

Code based on Prototype 1.5.1.1:

Event Intercept code:
http://pastie.caboo.se/private/rzzrkiaa3zvhclj1uh

Cross-browser onDOMContentLoaded using Event.intercept():
http://pastie.caboo.se/private/euowdrekwczeednbzr

IE window.onResize() fix (problem discussed here
http://www.snook.ca/archives/javascript/ie6_fires_onresize/ )
//this code requires a class called "Window" but you get the point:
http://pastie.caboo.se/private/scxhidmjmwstj35slg

Hopefully someone may find something useful from them.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to