Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
Anyway what is the simplest way or alternative to window.onload for IE without any other browsers to be considered for any possible issues? I know this sounds cheap but conditional comments allow it. ;)
Comment out ALL of the code in
and simply have an alert in each function saying (for e.g.)
alert('init28 has fired');
/* all the other code commented out
That will only take a few minutes and there's a high chance it will reveal if/where there is a bug
So window.onload doesn't work for squat in IE6...
I agree. It's highly unlikely, John. I've never had a problem, and if this were the case, the whole scripting world would know about it by now.
The most common problem with assiging onload event is conflicts with others. Do you have another script that assigns a function to onload (presumeably aftwerards)?
It may be time to try attachEvent/adEventListener instead.