Hi All
I've got a strange issue which crops up in IE (6, 7 and 8) and when Flash is on a page: images display intermittently.
- Refreshing the page several times may or may not make the image display.
- Approximately 50% of the time the image displays
- If the image is not displayed there is space for the image and right-clicking 'Show Picture' will display the image.
- The problem does not appear in Safari, Firefox or Chrome.
Images are being inserted into the page using:
$(document).ready(function()
{
$('#MyDiv').html('<img src="tick_med.png" alt="tick">'+ // <-- displays intermittently
'test'); // <-- this will always appear OK
});
I have tried:
- Using five different images (jpg and png)
- Using different IE versions
- Using a local (mac MAMP) and remote server
- Using ".load(fileName)" instead of ".html"
- Delaying the ".html" function by 5 seconds using show(500) and a callback function.
Help!
Rob