Skip to content

iufer/jLoupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##jQuery Loupe v1.3.4

For Usage Examples: http://chrisiufer.com/loupe/

###Configurable Options

PropertyDefault
width200loupe width
height200loupe height
margin6pixel margin aroudn the viewing area of the loupe
cursorOffsetX10horizontal distance from the cursor
cursorOffsetY10vertical distance from the cursor
colorfalsedeprecated in 1.3.1. use backgroundColor or borderColor instead
borderColor'#999'border color
backgroundColor'#fff'background color of the negative space around the zoomed image
radiusLT0left top radius
radiusLB100left bottom radius
radiusRT100right top radius
radiusRB100right bottom radius
imagefalsebackground image url
repeatfalseenable or disable repeating background image
fadetrueuse fade in/out
fadeIntruefade in time (ms)
fadeOuttruefade out time (ms)

###Change Log

Version
V 1.3.4Added data-original attribute via @sandstrom. Code cleanup.
V 1.3.2Updated to work with jQuery 1.6 by changing attr() calls to prop().
V 1.3.3Merged changes from jpcaruana to make start, stop, and move handlers easier to access.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/