Some bugs in the image amplification function of the jqzoom plug-in

Source: Internet
Author: User

We recommend that you use the cloud-zoom plug-in instead of the jqzoom plug-in.

Click to view --Image magnifier-jquery plug-in cloud zoom

The jqzoom plug-in was used at the beginning, but there are too many problems, so we don't want to insert it into the page for use, just the instances of the plug-in itself

Bug1: Congenital malnutrition

You cannot use margin: 0 auto; to place it in a center display module. It can only be displayed on the far left of the window, or you can use margin-left to display it at a certain distance on the left. However, if you want it to adapt to browsers of different widths, I am afraid it is not easy to use.

Bug2: Developed day after day

Jqzoom is affected by the peripheral module. At first, it was found that it was normally displayed under ie. Under the speed browser of the WebKit kernel, there was no amplification effect. So it took a long time to tune the entire Module layer by layer, only to find that it was affected by a sharing module at the same level as the layer of the jqzoom plug-in, then adjust the position of the sharing module. Unfortunately, the sharing module cannot appear on the whole page. As long as the sharing module appears, the image amplification effect will be affected. This shows that this plug-in has poor scalability. How can a single module handle the influence of the peripheral environment!

Hard debugging process:

After discovering the problem from the very beginning, the problem was adjusted for two days, but one problem was hard to solve, and the other problem appeared again, the inherent bug was discovered-the W3C standard could not be used to center it with margin: 0 auto. That's no way. It's really hard to help...
Therefore, we recommend that you use cloud-zoom to enlarge images. If the compatibility is strong, you can replace the original JS file and style with the cloud-zoom plug-in file, almost no more calls, and the perfect image amplification function came out. I went to the browsers of different kernels to test it. It's okay!

 

Some bugs in the image amplification function of the jqzoom plug-in

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.