Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

MooTools Zoomer port

tag: 1.8.1

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Demo
Octocat-spinner-32 Source
Octocat-spinner-32 README.md
Octocat-spinner-32 package.yml
README.md

Zoomer

Zoomer is simple and nice image zoom class. It's shows zoomed image inside original.

Screenshot

How to use

demo

Example 1:

html

#html
<img src="gomer-small.jpg" id="homer" big="gomer.jpg"/>

js

#js
new Zoomer('homer');

big attribute - big image src.

Example 2:

html

#html
<img src="girl-thumb.jpg" id="girl"/>

js

#js
new Zoomer('girl', {
    big: 'girl.jpg',
    smooth: 10
});

Example 3:

html

#html
<img src="girl-thumb.jpg" id="girl"/>

js

#js
$('#girl').zoomer({
    big: 'girl.jpg',
    smooth: 10
});

options:

  • big - big image src
  • smooth(integer) - smooth
Something went wrong with that request. Please try again.