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 , 11:51 AM






I'm still struggling with this. I even tried adding an image
preloader (http://warpspire.com/tipsresources/interface-scripting/
image-preloading-revisited/), but the images still do not display in
IE, and it thinks the width/height of them is zero.

However, when I changed my CSS so the previously hidden fullsize
images in the shoebox were now set to "display:inline", the copy of
the element into the lightbox shows up the image.

So, in Firefox, whether I preload the image or not, it shows up fine
when I dynamically create it. In IE, the dynamically created image
element doesn't show up, whether I preload the image or not.

I also tried manually setting both the fullsize div and img to
"display:inline" after creating them, but that had no effect.

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.