이미지 확대 효과 (돋보기 효과) JQZoom
http://www.mind-projects.it/projects/jqzoom/demos.php
Add first the last jQuery release, then the jQZoom script(don't forget this),the correct order is important.Look at the installation code below.
Add jqzoom.css to your header.
How to use
Using jQZoom is easy,but you need to specify the HTML anchor element,that is going to generate the zoom revealing a portion of the enlarged image.
The anchor element wraps the small image you would like to zoom.Following this schema the necessary and base elements are: SMALLIMAGE.JPG: Represents the small image you would like to zoom. Now load the plugin at window load.
This will instantiate jQzoom in default(standard) mode.You can pass more options(Documentation section),to create special or custom effects as in the example below.
Multiple thumbnails support
If you want to create galleries, jQZoom can manage it for you. 1. Attach the gallery ID to your main anchor "rel" attribute.
2. Manage your thumbnails "class" and "rel" attributes.
gallery: the ID of the gallery to which it belongs.
|
Documentation Configuration options: You can choose between these options.
Style customizations are obviously admitted simply changing the right parameters value in the jqzoom stylesheet file. |
'Story > Jquery' 카테고리의 다른 글
javascript 이용 flash param 값 변경 (0) | 2013.04.05 |
---|---|
Jquery 를 이용하여 HTML5 placeholder 를 적용시키기 (0) | 2013.03.18 |
Regex Selector for jQuery (0) | 2013.01.22 |
Basic JQuery Selector (0) | 2012.12.31 |
구글 지도 사용 google map 언어 ( 중국어 zh_CN ) (0) | 2012.12.27 |