• Home
Renaissance Man
Jack of all trades, Master of none
  • Categories

    • Art (1)
    • Crafts (1)
    • Differences US vs PL (4)
    • Dreams (3)
    • Gaming (3)
    • Gluten Free Recipes (5)
    • Graphic Design (1)
    • Life (37)
    • Movies (2)
    • Poetry (25)
    • Poland (28)
    • Short Stories (3)
    • Sleep Experiment (15)
    • Travel (6)
    • Uncategorized (6)
    • Web Design (3)
    • Writing (2)
  • Calendar

    April 2008
    S M T W T F S
    « Mar   May »
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Blog Links

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Apr 08

Internet Explorer Cannot Open the Internet Site – Operation Aborted

Web Design 2 Comments »

Yet again IE sends me on a wild goose chase. 

I had just added a video using Jeroenwijering‘s Media Player, and all of a sudden I was getting an error from IE saying "Internet Explorer Cannot Open the Internet Site". 

After a little digging, I found out that this is caused by a parsing error involving javascript in the body acting on an object in the body, or something similar to that. 

The solutions were to move the script to the beginning or end of the body tag, or outside of it all together, which didn’t work that well for me, or to add defer="defer" to the script tag.  I liked that option, and apparently so did IE.  Problem solved and now I can get on with my life again. 

[EDIT]

I think you must also make sure the script is not contained in the object that it is modifying.  For instance, my script was rewriting the contents of a DIV.  I had the script inside that DIV and even with the defer flag set, it was getting errors.  Once I moved the script outside, it seemed to work fine.

Powered by WordPress .::. Designed by SiteGround Web Hosting

cssandhtml