ok well i've done a gallery in CSS and was wondering if anyone know some JavaScript to enlarge a version of the image on mouse over ?
Quite simple: img1=cropped image, img2=original size <a href="#" onmouseover="document.images.example.src='img2.gif';" onmouseout="document.images.example.src='img1.gif';" ><img src="img1.gif" border="0" name="example" /></a> HTML:
i just want it to open a larger image within a pop window on hover without having to click on the actual link.
The onmouseover given previously and now is on hover and no clicking reqd. I think this is what you need. <a href="#" onmouseover="window.open ('pathToOriginalImage');">cropped image url</a> Code (markup):
thanks for the help so far but thats just goin to do it on a link, i mean i wont it so when you scroll over the thumbnail image it will popup with a larger version of the image.