SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Philadephia, PA
    1 Post(s)
    0 Thread(s)

    IE7 crashes on element creation

    I have a page which causes IE7 to error with "Internet explorer cannot open the Internet site [url] Operation aborted." then go to its default error page.

    Problem is it's already displayed 90% of the page at that point, and it's a fairly simple piece of JavaScript that's causing the crash. Put in a blank page, it causes no harm.

    <script type="text/javascript">
    	var vd = document.createElement('div'); = 'none'; = 'absolute'; = '200px'; = '200px'; = '#fff'; = '1000'; = '400px'; = '1px solid #000'; = 'left'; = 'visitor_detail';
    I can't figure out why, I hope someone else can. Sorry to link to it, but I can't reproduce it outside the actual page it happens on:

    [Removed my link to a crashing page]

    Also, the error persists if I remove all the properties and just append an empty div.

    If anyone can help me figure out why creating this div crashes the browser, I'd be very happy. I did so to fix a display bug in Safari when I just had a <div> with styles after all.
    Last edited by Dan Grossman; Oct 17, 2007 at 00:15.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts