Mootools not loading fast enough IE6

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-04-13T17:03:37Z Indexed on 2010/04/15 10:23 UTC
Read the original article Hit count: 337

Filed under:
|

Very random and annoying problem with IE6. We keep our common JS files on a resources server so we only have to update them in one place. As well as our custom classes we also keep our build of mootools and more on the resources server and link to it in the head of our sites.

This is fine in all the browsers accept IE6. In IE6 it seems to not loads the core quick enough from the external link before trying to process the mootools code in my site.js file. It will go wrong on the first line "windows.addEvent".

If i put a mootools core in a folder where the site is though its fine. Does anyone know why it might be doing this and if so a way around it, but still keeping the files on the resources domain?

Thanks Tom

© Stack Overflow or respective owner

Related posts about mootools

Related posts about ie6