jqzoom 放大镜参数详解

Configuration options:
You can choose between these options.

  • OPTION NAME
    DEFAULT
    DESCRIPTION
  • zoomType
    ‘standard’
    The others admitted option values are ‘reverse’,‘drag’,‘innerzoom’.
  • zoomWidth
    300
    The popup window width showing the zoomed area.
  • zoomHeight
    300
    The popup window height showing the zoomed area.
  • xOffset
    10
    The 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”)
  • yOffset
    0
    The 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’
  • preloadImages
    true
    if set to true,jqzoom will preload large images.
  • preloadText
    ‘Loading zoom’
    The text to show while preloading images.
  • title
    true
    Show a small title over the zoomed window it can be the anchor title and if not specified,it will get the small image title.
  • lens
    true
    if set to false,the small lens,over the image, won’t show.
  • imageOpacity
    0.4
    Set 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)

发表评论

邮箱地址不会被公开。 必填项已用*标注