[thelist] [JS] Image Switching Problem

Elankath, Tarun (Cognizant) ETarun at blr.cognizant.com
Mon Sep 1 04:18:45 CDT 2003


Are the images not showing up at all, or are they simply taking time to load ?
If its the latter, you would want to preload your images.

PLUS: innerHTML is supported by all Mozilla compatible browsers, so if that's the only issue, then you can make it work in NS7+, Mozilla 1.0+.

Could you show a code snippet ?


Regards,
Tarun


-----Original Message-----
From: Hershel Robinson [mailto:hershelr at netvision.net.il]
Sent: Sunday, August 31, 2003 5:49 PM
To: thelist at lists.evolt.org
Subject: [thelist] [JS] Image Switching Problem


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?

Thanks,
Hershel

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://lists.evolt.org/pipermail/thelist/attachments/20030901/c4c25bc2/attachment.txt>


More information about the thelist mailing list