Forum Moderators: open

Message Too Old, No Replies

Images doesnt appear under IE

         

oxylus

1:12 pm on Aug 11, 2007 (gmt 0)

10+ Year Member



Hi,

I have a flash move and over it i put the html content.

Originaly i load the html in a hidden layer and then i move it to the correct position and make it visible.

It works okay in FF / OPERA / SAFARI, but it fails under IE. The only problem is that the images sometimes appears, sometimes doesnt.

I need to right click on it and select Show Image and it will appear

I tried to make a javascript function to reload all the images but still doesnt help

function ReloadImages() {
var elements = document.getElementById("Table_01").getElementsByTagName("img");
var tmp;

for (var i=0;i<elements.length;i++) {
tmp = elements[i].src.split("?");
src = tmp[0] + "?" + (new Date()).getTime();

elements[i].src = src;
}
}

When i jump from a page to another i read the content with httprequest and then i put it in the layer over the flash. The weird thing is if i access the link directly:

the images appears correctly,

Did anyone face the same problem?

Thanks,
Emanuel

[edited by: jatar_k at 1:07 am (utc) on Aug. 13, 2007]
[edit reason] no urls thanks [/edit]

JAB Creations

12:07 am on Aug 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Emanuel and welcome to WebmasterWorld! :)

Since you're new here please keep in mind we discuss all the code here on the forums, a mod will be along shortly and remove the URL from your post...just their terms of service.

I work a lot with layers, positioning, etc and I've dealt with more then a fair share of IE's bugs. What is odd is that you're telling me the images aren't loading. The main layers bug I have dealt with (in regards to IE) is it's illegal request of any child objects inside of a parent initially set to display: none;.

Please create a working test case here on the forums. For readability purposes I always post my code inside of BB quotes like so....


my code would be inside of a nifty box if I didn't disable the BB codes for this example.

Once you've posted your code it'd be much easier for me to test out. Thanks!

- John