Hi,
I've written some javascript to randomly choose a classical music composer's
picture and sample audio and display it on my home page
(http://marc.fearby.com/), and this works fine in Mozilla but has problems
in IE. Here's the code:
imagestring = "<img src=\"" + imagedir + composers[i][3] + "\" />";
objimage.innerH TML = imagestring;
To cut a long story short, this basically gets the image from an array and
prints the correct img tag. It works in Mozilla both from my local web
server and the live one (above). IE renders everything perfectly from my
local web server, but when running off the live one, only the first
composer's image appears. When I make three mistakes and then click the NEXT
link, IE running from the live site refuses to display the image, yet
Mozilla does fine.
Is there anything else I have to do, other than setting the innerHTML, to
get IE to behave when accessing the site from my real web site? I've even
tried making sure imagedir has the fully qualified domain name and path, but
IE still won't play ball, but Mozilla still does...
Thanks.
I've written some javascript to randomly choose a classical music composer's
picture and sample audio and display it on my home page
(http://marc.fearby.com/), and this works fine in Mozilla but has problems
in IE. Here's the code:
imagestring = "<img src=\"" + imagedir + composers[i][3] + "\" />";
objimage.innerH TML = imagestring;
To cut a long story short, this basically gets the image from an array and
prints the correct img tag. It works in Mozilla both from my local web
server and the live one (above). IE renders everything perfectly from my
local web server, but when running off the live one, only the first
composer's image appears. When I make three mistakes and then click the NEXT
link, IE running from the live site refuses to display the image, yet
Mozilla does fine.
Is there anything else I have to do, other than setting the innerHTML, to
get IE to behave when accessing the site from my real web site? I've even
tried making sure imagedir has the fully qualified domain name and path, but
IE still won't play ball, but Mozilla still does...
Thanks.
Comment