In the classic article about Deferred usage in jQuery1.5 (for the translation, see here), the following section describes the introduction.
In the classic article about Deferred usage in jQuery1.5 (for the translation, see here), we will provide the
I will not introduce many plug-ins. I will introduce them in my "JQuery ", which also provides examples. However, in actual use, I found that a plug-in cannot achieve the effect, and the language is hard to describe. Let's look at the figure and
It mainly expands the display modes of the source image and the display box, including the following modes:"Follow" follow Mode: displays the effect of moving the box following the mouse;"Handle": There is a slider on the source image to mark the
IntroductionIn the classic article about Deferred usage in jQuery1.5 (for the translation, see here), we will provide the following description:$. Ajax () returns an object packed with other deferred-related methods. I discussed promise (), but
HTML page:Note: The size of the matte layer depends on = = = "Layerwidth/layerheight = Largewidth/largeheightEnlarge.js page/*Jquery.enlarge.js v1.1by Abelyao, usky.org*/(Function ($){var defaults ={Shadecolor: "#FFD24D",Shadeborder:
Include Jqzoom.css on your page
HTML code
Link rel="stylesheet" href="your_path/jqzoom.css" type="Text/css" Media="screen">
Contains Jqzoom and jQuery JS code:
HTML code
script type = "
The previous version was first contacted for this kind of effect, and is three big function together development, the ability is limited, so just realize the effect is complete.
Recently I put the drag-and-drop effect and scaling effect alone out of
Here's how to use this simple:
1. Loading jqzoom.css
The code is as follows
Copy Code
2. Load Jqzoom and jQuery JS Library:
The code is as follows
Copy Code
3. Create
Some time ago whining had a "fun magnifying glass effect", today looked, found that there are simple methods can also be achieved, that is, the adjustment of the use of internal and external patches.
Interested can be in pondering.
1 2 3
The code for this magnifying glass is quite simple and the effect is good.
Copy Code code as follows:
Src= "Demosmall.jpg" width= "
Copy Code code as follows:
/*
Enlarge for JQuery v1.0
Abel
Zoom | special Effects | Web pages |
Some time ago whining had a "fun magnifying glass effect", today looked, found that there are simple methods can also be achieved, that is, the adjustment of the use of internal and external patches.
Interested
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.