This project is archived and is in readonly mode.

#547 open
Matias N

Assets.css doesn't support onload event for all browsers

Reported by Matias N | March 24th, 2011 @ 04:50 PM | in (closed)

The Assets.css does not support the onload property. This is because only IE and Opera fire the onload event when the stylesheet is loaded. Other browsers such as Firefox, Chrome and Safari do not listen on the event. To get around this, you will need to play around with a timer and the ownerNode properties.

I explain the full solution here, plus some MooTools code of how to get around it:

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket