If there are any Javascripts running inside the body tag or inside a table which is directly a child of body, then most of the times this error is bound to happen. The solution is to move the script to the top or bottom of the body tag or even moving it after the body. The script can also be put inside a function and then calling it from window.onload. Another solution to this problem is to add defer=”defer” in the script tag.
I checked my code for scripts which were running inside the body tag and was a direct child to it. Then I moved all my Javascript codes to bottom of the body tag so that it will not interfere while parsing the page. I tested my blog in IE after I made the change and I could see the difference, the error was not happening any more. I checked in different versions of IE to confirm.
I'm using menumachine to do the menus so of course I have what's generated and placed in GL:
David Ellsworth -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/GoLive/Browse/ Manage your subscription: http://www.ListSearch.com/GoLive/
Feb 05
Dave Miers Re: Script errors with IE
Feb 05, 2009; 06:31
Dave Miers
Re: Script errors with IE
Feb 05
David Ellsworth Re: Script errors with IE
Feb 05, 2009; 14:57
David Ellsworth
Re: Script errors with IE
Feb 05
Dave Miers Re: Script errors with IE
Feb 05, 2009; 15:36
Dave Miers
Re: Script errors with IE
Feb 05
John Donaldson Re: Script errors with IE
Feb 05, 2009; 16:00
John Donaldson
Re: Script errors with IE
Feb 05
David Ellsworth Re: Script errors with IE
Feb 05, 2009; 16:01
David Ellsworth
Re: Script errors with IE
Feb 05
Rob Keniger Re: Script errors with IE
Feb 05, 2009; 18:06
Rob Keniger
Re: Script errors with IE
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!