Configuration options:
You can choose between these options.
-
OPTION NAMEDEFAULTDESCRIPTION
-
zoomType‘standard’The others admitted option values are ‘reverse’,‘drag’,‘innerzoom’.
-
zoomWidth300The popup window width showing the zoomed area.
-
zoomHeight300The popup window height showing the zoomed area.
-
xOffset10The popup window x offset from the small image. (always positive to move the popup window more on the right if position is “right” or more on the left if position is “left”)
-
yOffset0The popup window y offset from the small image. (always positive to move the popup window more on the top if position is “top” or more on the bottom if position is “bottom”),
-
position‘right’The popup window position.Admitted values:‘right’ ,‘left’ ,‘top’ ,‘bottom’
-
preloadImagestrueif set to true,jqzoom will preload large images.
-
preloadText‘Loading zoom’The text to show while preloading images.
-
titletrueShow a small title over the zoomed window it can be the anchor title and if not specified,it will get the small image title.
-
lenstrueif set to false,the small lens,over the image, won’t show.
-
imageOpacity0.4Set the image opacity when the ‘zoomType’ option is set to ‘reverse’.
-
showEffect‘show’The effect by which showing the popup window.Options available: ‘show’ ,‘fadein’.
-
hideEffect‘hide’The effect by which hiding the popup window.Options available: ‘hide’ ,‘fadeout’.
-
fadeinSpeed‘slow’Changes fade in speed,in case the showEffect option is set to ‘fadein’.(options:‘fast’,‘slow’,number)
-
fadeoutSpeed‘2000’Changes fade out speed,in case the hideEffect option is set to ‘fadeout’.(options:‘fast’,‘slow’,number)
zoomType ’standard’ :’reverse’ 默认’standard’,’reverse’ 的时候开启透明;
imageOpacity :默认0.2 透明度 开启’reverse’ 的时候可用;
zoomWidth: 宽度 zoomHeight 高度 默认都是200;
xOffset :默认10 x方向放大效果div的偏移
yOffset :默认0 y方向放大效果div的偏移
position: 默认’right’ 可选 :’right’ ,’left’ ,’top’ ,’bottom’ 放大效果的位置
lens :默认true 被放大区域是否突出
title :默认true 标题
showEffect: 默认 ’show’ 可选’show’ ,’fadein’ 开启渐入效果
hideEffect: 默认’hide’ 可选 ‘hide’ ,’fadeout’ 开启渐处效果
fadeinSpeed fadeoutSpeed :可选 ‘fast’,’slow’,’medium’ 默认 ’slow’ 出 入的速度
showPreload true/false:是否显示加载
preloadText: 默认 ‘Loading zoom’ 加载是的标题
preloadPosition: 默认 ‘center’ 加载区位置(可自行更改css)