Go Back   Dynamic Drive Forums > Blogs
Search Dynamic Drive Forums:

Web Design issues
Old

"Operation Aborted" error in IE when inserting new elements into the DOM, and fix

Posted 06-03-2009 at 08:48 PM by ddadmin
Updated 06-04-2009 at 01:45 AM by ddadmin

The DOM lets you dynamically create and add elements to the page, such as the following, which creates an image on the fly and adds it to the end of the document:

Code:
var img=document.createElement("img")
img.setAttribute('src', 'dd.gif')
document.body.appendChild(img)
Ideally such an operation should be done after the document has loaded, though in most browsers, I noticed you can get away with it. In IE6 and IE7, however, things get a lot more...
ddadmin's Avatar
Administrator
Views 7431 Comments 1 ddadmin is offline Edit Tags
Old

IE8 beta and CSS/ JavaScript compatibility quick fix

Posted 02-27-2009 at 06:33 AM by ddadmin
Updated 02-27-2009 at 06:39 AM by ddadmin

IE8 has yet to formally launch, though the Beta and RC releases have been available for download for developers and those curious already. The advent of a new browser always brings up new issues with compatibility, and IE8 beta is no different. I've gotten quite a few emails lately regarding a DHTML script or CSS code not quite working properly in the new browser. A handful of scripts on DD fall into this group. I plan on eventually checking all scripts on DD for IE8 once it's officially released,...
ddadmin's Avatar
Administrator
Views 5768 Comments 0 ddadmin is offline Edit Tags

All times are GMT. The time now is 12:32 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.