Zoomi es un ligero Javascript que posee la capacidad de permitirnos añadir a nuestras imágenes un efecto zoom muy bonito. Su utilización es realmente sencilla, para utilizarla deberemos descargar por supuesto zoomi.js pero también necesitaremos de jQuery. .
Using zoomi is easy.
Go get jQuery if you haven't already done so.
Download the script and include the following code in the
Go get jQuery if you haven't already done so.
Download the script and include the following code in the
<head>
<script type="text/javascript" src="zoomi.js"></script>
Now any <img> that you give the class="zoomi" to, will automatically turn into a zoomi image. Zoomi uses the alt="url" attribute to provide the url of the zoom2 image. Here is an example:
<img class="zoomi" src="image1.jpg" alt="image2.jpg">
Zoomi also supports using one image. This allows you to save bandwidth, and makes creating thumbnails easy. Here is an example:
<img class="zoomi" src="image.jpg" width="180">
For more examples, view the source code of this page.





