Hi All,
I know this is a simple problem because ive done it before, but i just cant remember how i did it
What i want to do is create an image viewer, i have a number of thumbnails and a large div tag that is blank, when the user rollsover the thumbnail the large image is display in the blank div, but whats happening is the large image is displaying in the thumbnail div.
This is what i have:
Thumbnail Div:
Code:
<div id="ptmimage1"><a href="#"><img src="../../Images/shim.gif" width="59" height="88" border="0" /></a></div>
Large Div:
Code:
<div id="ptmlargeimg"></div>
Then the CSS is set like this:
Code:
#ptmimage1{
position:absolute;
background:url(Images/ptm1.jpg) no-repeat top left;
width: 59px;
height: 88px;
left: 17px;
top: 102px;
}
#ptmimage1 a:hover{
background:url(Images/ptm1_large.jpg) no-repeat top left;
width: 206px;
height: 309px;
}
Can anyone help me jog my memory on this one?
Thanks