J.J.Baxter - My place on the web - interests, hobbies, thoughts & ruminations
Home / Blog
Books
Links
Images
Aug Sep-2010 Oct
SMTWTFS
2930311234
567891011
12131415161718
19202122232425
262728293012
3 4 5 6 7 8 9
Reset Calendar
Snorg Girls
Programming Tips
Sherlock Holmes
Mythbusters
Gallipoli
Nova Science Now
Ajax Loading Images
The Girls of Dr. Who
Keratosis Pilaris (KP)
Amazing Water
Buy me a drink? I'll have a Cappuccino, thanks.
Random Images
Random Link
NOVA ScienceNow
Random Book
Locked Rooms
by Laurie R King






All Rights Reserved 2008
JJBaxter.com

J.J.Baxters Development Tips & Snippets
backBack
 internet explorer cannot open the internet site operation aborted (Browsers : 02-Nov-2008)
This error was causing me grief. Web pages worked fine in FF with no errors bt in IE the error would pop-up, both online and localy as localhost. Googling found tons of messages but most related to a widespead problem with websites using the Sitemeter script. I wasnt.

Some people suggested removing MSN messenger or Skype. Others reported success with reseting all internet options to default. Nothing worked for me. And of course you had the FF fanboys saying to "just use FireFox".

The I found a more technical discussion. Seems it has to do with a javascipt class being called before the class had been declared or initialized. Some people had success with adding defer="defer" to the javascript tag. This worked immediatly on my problem page but stuffed older, working pages but al least it put me on track.

More hunting found that the Ferant DHTML popup window library I was using caused the problem. The library loads at the top of my page with

<script language="JavaScript" src="/res/js/FerantLib.js" type="text/javascript"></script>


and is referenced at the end of the page with

<script language="JavaScript" type="text/javascript">
var EditWindowParams = {BorderWidth:0, ContentColor:'#e4ecf6', ContentHTML:'', Height:300, Width:700, Id:'EditWindow'}
var EditWindow = new FerantDHTMLWindow(EditWindowParams);
</script>


What appears to be happening is that, on small web pages, I'm calling FerantDHTMLWindow before FerantLib.js had a chance to fully load.

I found that adding defer="defer" to my bottom javascript declaration solved the problem.

<script language="JavaScript" type="text/javascript" defer="defer">
var EditWindowParams = {BorderWidth:0, ContentColor:'#e4ecf6', ContentHTML:'', Height:300, Width:700, Id:'EditWindow'}
var EditWindow = new FerantDHTMLWindow(EditWindowParams);
</script>



Problem solved