smurfy / cloud-zoom Goto Github PK
View Code? Open in Web Editor NEWFork of http://www.professorcloud.com/mainsite/cloud-zoom.htm
Fork of http://www.professorcloud.com/mainsite/cloud-zoom.htm
Unless you've used this version of cloud zoom before, there is no guidance on what the markup should be. I'm basically reverse engineering it from the source code.
I could not modified the lens width height. It looks bigger on the image. Is it possible to set the lens width and height. What I need to modify
Hi, thanks you for keeping the code updated.
I appreciate it if you could fix the version number to "1.0.2.3" in composer.json and cloud-zoom.js files.
Was the documentation forked along with this too?
The 1.0.3 version can be downloaded from here: http://blog.belvg.com/cloud-zoom-jquery-plugin-v1-0-3-vs-v2-1.html
Can I install cloud-zoom from npm with applying license automatically
Description
I have license for cloud-zoom. But I would like to install cloud-zoom with npm/jspm? If there are any options/steps to apply license for installed version?
Options have no effect.
$('.cloud-zoom, .cloud-zoom-gallery').CloudZoom({
position: 'inside',
gallerySwitchOnMouseOver: false
});
I was wondering why it is working on the one test page and not on the other when I noticed that error was coming from line 325, so here is the amendement for jquery 3.1.1. as load()
is deprecated (see jquey page)
that
324: img1 = new Image();
$(img1).load(function () {
ctx.init2(this, 0);
});
img1.src = sImg.attr('src');
img2 = new Image();
$(img2).load(function () {
ctx.init2(this, 1);
});
img2.src = jWin.attr('href');
replace with this:
img1 = new Image();
$(img1).on('load', function () {
ctx.init2(this, 0);
});
img1.src = sImg.attr('src');
img2 = new Image();
$(img2).on('load', function () {
ctx.init2(this, 1);
});
img2.src = jWin.attr('href');
I also replaced variable ctx
with that
; I suppose ctx
means context
but it's too generalized.
Hi @smurfy
I'm using your lib it's very use full for us. When I click on the image I can see the preview is this possible to preview while mouse hover on image.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.