HighDots Forums  

Re: Dynam. created img displays in Firefox, but not IE

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Dynam. created img displays in Firefox, but not IE in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
david.karr
 
Posts: n/a

Default Re: Dynam. created img displays in Firefox, but not IE - 05-20-2008 , 10:59 AM






Ok, I've found a solution. In my original code, I thought I should
set the "width" and "height" of the created img to reflect the width &
height of the img element I was copying from. I tried removing those
assignments, and that made it work. It almost seems like IE doesn't
know what the width & height of the image is until after it's
rendered, even if the image is preloaded.

Can anyone provide any more background to this?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.