Since I discussed some of the issue with the new
Event.observe('contentloaded', ...);

  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

Event Intercept code:

Cross-browser onDOMContentLoaded using Event.intercept():

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:

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 

Reply via email to