
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 http://www.cabel.name/2008/02/fancyzoom-10.html
2.Add the following two lines of code to the
section at the top of your web page(s):<script src=”/js-global/FancyZoom.js” type=”text/javascript”></script>
<script src=”/js-global/FancyZoomHTML.js” type=”text/javascript”></script>
3.Add onload=”setupZoom()” inside your page’s existing
tag. For example:<body id=”whatever” […] onload=”setupZoom()”>
4. Done! links to images in your page will automatically zoom the images when clicked.
OR follow on Twitter
Twitter.com/DeDestruct
Comments
We provide 3 tools for an image zoom effect. Instructions for each tool are on our website. Each one can be added within minutes!
Magic Thumb enlarges the image. It’s similar to Fancy Zoom and many customisations.
http://www.magictoolbox.com/magicthumb/
Magic Zoom displays a zoomed in image when you hover over the small image.
http://www.magictoolbox.com/magiczoom/
Magic Magnify displays a magnifying glass over the image as the user moves their mouse around the image.
http://www.magictoolbox.com/magicmagnify/
Thanks! I’m going to try this.
Gini’s last blog post… How to Create a Simple Menu Bar in Blogger, No Coding Necessary! - Powered by CommentLuv
Good tip, Ayush. Think I’ll give it a whirl
Tom Smith’s last blog post… Brondell Swash 700 - Powered by CommentLuv
hi i use this script on my website then i found an Accident!
the javascript can zoom my image but when i use flash file or swf file on my web page the script display image zoom under my flash file, I don’t know why?
I looking for anyone who can fix it for me.
if anyone can fix it for me, please send messege to me to biz_it@hotmail.com
thank you very much.
Trackbacks
Leave a reply