Javascript Image Zoom Effect

Simple Image Zoom Effects

Asked by Gina a design student

how do i write code in javascript or html.. for..when i click on the image , the image shoud enlarge

Fancy Zoom

Cabel has released his in-page javascript zoom effect library, as seen on the Panic website.

How to Use:

1. Download the FancyZoom package from Cabel’s Blog

2.Add the following two lines of code to the section at the top of your web page(s):

3.Add onload=”setupZoom()” inside your page’s existing tag. For example:

4. Done! links to images in your page will automatically zoom the images when clicked.