M
MarkusJNZ
Hi, I have a DIV in my webpage called largeImage declared as such
<div id="largeImage" style="width:360px; height: 238px;" />
When someone does a mouseover on a thumbnail I am showing the big
image using the following code
function showImage(imageName)
{
document.getElementById('largeImage').innerHTML = '<img src="./
_listingImages/' + imageName + '" style="width:360px;height:238px;" /
My problem is that sometimes the large image can be bigger then the
original DIV so I want to cut off the excess so to speak so that the
large image is not bigger than the original div.
Any help appreciated
Thanks in advance
Markus
<div id="largeImage" style="width:360px; height: 238px;" />
When someone does a mouseover on a thumbnail I am showing the big
image using the following code
function showImage(imageName)
{
document.getElementById('largeImage').innerHTML = '<img src="./
_listingImages/' + imageName + '" style="width:360px;height:238px;" /
}
My problem is that sometimes the large image can be bigger then the
original DIV so I want to cut off the excess so to speak so that the
large image is not bigger than the original div.
Any help appreciated
Thanks in advance
Markus