Product Carousel Magnifying Effect exzoom - Download Product Carousel With Magnifying Glass Effect - jQuery exzoom

Download Product Carousel With Magnifying Glass Effect – jQuery exzoom

Posted on

This time I will share jQuery Plugin and tutorial about Product Carousel With Magnifying Glass Effect – jQuery exzoom, hope it will help you in programming stack.

Product Carousel Magnifying Effect exzoom - Download Product Carousel With Magnifying Glass Effect - jQuery exzoom
File Size: 20.2 KB
Views Total: 22287
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

exzoom is a simple yet powerful and mobile-compatible product carousel/gallery jQuery plugin for your eCommerce websites or online stores.

Features autoplay, thumbnail navigation, image zoom (Magnifying Glass Effect) and much more.

How to use it:

1. Link to jQuery library and the exzoom’s files:

1 <link href="/src/jquery.exzoom.css" rel="stylesheet">
3         integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ"
4         crossorigin="anonymous"></script>
5 <script src="/src/jquery.exzoom.js"></script>

2. Create a list of product images and insert them with navigation controls to the carousel.

01 <div class="exzoom" id="exzoom">
02   <!-- Images -->
03   <div class="exzoom_img_box">
04     <ul class='exzoom_img_ul'>
05       <li><img src="1.png"/></li>
06       <li><img src="2.png"/></li>
07       <li><img src="3.png"/></li>
08       <li><img src="4.png"/></li>
09       <li><img src="5.png"/></li>
10       ...
11     </ul>
12   </div>
13   <!-- <a href="https://www.jqueryscript.net/tags.php?/Thumbnail/">Thumbnail</a> Nav-->
14   <div class="exzoom_nav"></div>
15   <!-- Nav Buttons -->
16   <p class="exzoom_btn">
17       <a href="javascript:void(0);" class="exzoom_prev_btn"> < </a>
18       <a href="javascript:void(0);" class="exzoom_next_btn"> > </a>
19   </p>
20 </div>

3. Initialize the plugin and we’re done:

1 $(function(){
2  
3   $("#exzoom").exzoom({
4     // options here
5   });
6  
7 });

4. Config the product carousel by overiding the default option values as these:

01 $(function(){
02  
03   $("#exzoom").exzoom({
04  
05     // thumbnail nav options
06     "navWidth": 60,
07     "navHeight": 60,
08     "navItemNum": 5,
09     "navItemMargin": 7,
10     "navBorder": 1,
11  
12     // autoplay
13     "autoPlay": true,
14  
15     // autoplay interval in milliseconds
16     "autoPlayTimeout": 2000
17      
18   });
19  
20 });

This awesome jQuery plugin is developed by weihaipy. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net