D
daninbrum
Dear All,
I'm kocking together a page along the following lines...
<DIV ID="container">
<DIV ID="thumbs"><IMG SRC="..."><IMG SRC="..."><IMG SRC="..."></DIV>
<DIV ID="mainimage"><IMG SRC="..." NAME="bigimage"></DIV>
</DIV>
Could anyone give me some clues as to how to change the src of
bigimage? document.bigimage.src obviously wont do it because of the
nested DIVs. Any other route?
Also, some of the images that could go into bigimage are of different
proportions - can I stop them stretching to the size of the original?
Any advise taken very very gratefully.
Dan
I'm kocking together a page along the following lines...
<DIV ID="container">
<DIV ID="thumbs"><IMG SRC="..."><IMG SRC="..."><IMG SRC="..."></DIV>
<DIV ID="mainimage"><IMG SRC="..." NAME="bigimage"></DIV>
</DIV>
Could anyone give me some clues as to how to change the src of
bigimage? document.bigimage.src obviously wont do it because of the
nested DIVs. Any other route?
Also, some of the images that could go into bigimage are of different
proportions - can I stop them stretching to the size of the original?
Any advise taken very very gratefully.
Dan