Saturday, October 20, 2007

Enlarge an image from thumbnail

Just copy and paste this javascript, and write an anchor link which when clicked, call this function. A very simple function but I just post it anyway. I may forget about it once I look away.
Note that when you display in HTML, the image is in thumbnail. But when you pass the value to this function, it shouldn't be the thumbnail, but the original image.

No comments: