On my page, I have a series of thumbnails which, when clicked, change the source of a large central image. The images which are shown in the center are all of different sizes, yet in Opera, when the corresponding thumbnail is clicked, all large images displayed kin the center are stretched or shrunk so that they are the same size as the original (first) image which they replace.
Any one have any ideas how I can get round this? In Netscape, I used layers, but Opera doesn't support this, does it?
My source is:
op = document.getElementById("bigcirc"
op.src = aryBC[intIndex];
(where bigcirc is the image id and aryBC is a javascript array to change the image source...)
Also, I have another <div> next to the large image which changes onClcik to show a description of the image. In IE I have used the innerHTML property (unsupported in Opera) and in Netscape I have used document.[layer_id].document.write() to write the description. Does any know what the equivalent is in Opera.
I have tried:
desc=document.getElementById("descriptions"
desc.document.write('Hello');
(where descriptions is a <div> id...)
but this does not seem to work.
Help very gratefully received
Inch
Any one have any ideas how I can get round this? In Netscape, I used layers, but Opera doesn't support this, does it?
My source is:
op = document.getElementById("bigcirc"
op.src = aryBC[intIndex];
(where bigcirc is the image id and aryBC is a javascript array to change the image source...)
Also, I have another <div> next to the large image which changes onClcik to show a description of the image. In IE I have used the innerHTML property (unsupported in Opera) and in Netscape I have used document.[layer_id].document.write() to write the description. Does any know what the equivalent is in Opera.
I have tried:
desc=document.getElementById("descriptions"
desc.document.write('Hello');
(where descriptions is a <div> id...)
but this does not seem to work.
Help very gratefully received
Inch