Code:
<script type="text/javascript">
function preview(img) {
document.getElementById("bigimg").src = img.src.substring(0,lastIndexOf('.')) + unescape("%5f%62%69%67") + img.src.substring(lastIndexOf('.'), img.src.length());
}
</script>
<img id="bigimg" src="blank.jpg"/>
<img onmouseover="preview(this);" onmouseout="document.getElementById('bigimg').src='blank.htm';" src="image.jpg"/>
This will cause any image as shown above to be previewed with "_big" prepended to the file extension.
image.jpg becomes image_big.jpg, monkey.png becomes monkey_big.png &c.
Bookmarks