[thelist] [JS] Image Switching Problem

Hershel Robinson hershelr at netvision.net.il
Sun Aug 31 07:19:19 CDT 2003

I have an expandable tree. The HTML is built by the JS and then a certain
div's innerHTML attribute is set to that HTML. This is an IE-only site. :)

Clicking on a node changes the node's icon from a closed folder to an open
folder when it's children nodes are displayed. The icons are all preloaded.
Locally, the page works fine. On the server, the page also works fine when
loaded into a browser locally. When accessed via the internet, however, when
I click on an icon, the image disappears. The rest of the JS works fine. If
I right click on the icon space and choose Show Picture, then the *correct*
icon shows up.

Seems that the code is being executed correctly, just that the image is not
being displayed. All image references are relative. Everything on the test
page is in the same directory.

Any ideas?


More information about the thelist mailing list