javascript and Netscape - TechRepublic
General discussion
February 7, 2002 at 08:04 PM
john gordon

javascript and Netscape

by john gordon . Updated 24 years, 2 months ago

I am developing a simple photo gallery to place on my web site and cannot get the photos to display using Netscape.

I have the following:
A web page of thumbnails, when a thumbnail is clicked a javascript function is called with 2 arguments – anhtml filename and an image file name. The script opens the html web page in a new window. The html web page originally contains a named image comprising a single pixel.
The javascript function then changes the source of the image to the image file.

This works OK in IE but refuses to display the new image in Netscape. Why?

If anyone wants to see it I can send the bones of my code if you want to see it (it’s only about 2Kb total).

Thanks

John

This discussion is locked

All Comments