Home  >  Article  >  Web Front-end  >  jquery realizes the image enlargement effect of Jingdong Mall and Fanke Mall_jquery

jquery realizes the image enlargement effect of Jingdong Mall and Fanke Mall_jquery

WBOY
WBOYOriginal
2016-05-16 18:53:15946browse

The effect is as follows:


Take a look at our demo and please refresh it after "Run Code":


[Ctrl A Select all Note:
If you need to introduce external Js, you need to refresh it to execute
]
To achieve this effect, You only need to add it to the area of ​​the page where you need this effect: Copy the code

The code is as follows:






And for pictures that need to use this effect: Copy code

The code is as follows:



class="jqzoom" is the key.
The attribute settings include:
You can also view the original article directly: http://www.mind-projects.it/projects/jqzoom/index.php#examples
You may be interested in taking a look at the examples carefully prepared by the author:
http://www.mind-projects.it/projects/jqzoom/demos.php#demo1Package download address
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn