Jqzoom的使用

OPTION NAME     DEFAULT     DESCRIPTION
zoomType   'standard'     The others admitted option values are 'reverse','drag','innerzoom'.
zoom模式,可选参数'reverse','drag','innerzoom'
zoomWidth   300     The popup window width showing the zoomed area.
弹出的div的宽
zoomHeight 300     The popup window height showing the zoomed area.
弹出的div的高
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")
弹出的div的x轴偏离,如果position属性设为right,则是距离右边的距离。
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"),
弹出的div的x轴偏离,同上。
position     'right'     The popup window position.Admitted values:'right' ,'left' ,'top' ,'bottom'
弹出的div的位置在左边,在右边,可选参数:'right' ,'left' ,'top' ,'bottom'。
preloadImages   true     if set to true,jqzoom will preload large images.
是否弹出大图,如果为true则弹出大图。
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.
当地弹出div时在div的顶部显示一个标题,如果没有指定则取缩略图的的标题
lens     true     if set to false,the small lens,over the image, won't show.
是否显示小图上的小div,如果设置为false则在图片上的div不显示。
imageOpacity    0.4     Set the image opacity when the 'zoomType' option is set to 'reverse'.
图片遮罩层的透明度,仅当'zoomType' 的模式为'reverse'时起效。
showEffect     'show'     The effect by which showing the popup window.Options available: 'show' ,'fadein'.
设置大图弹出的方式,可选参数:'show' (显示),'fadein'(淡入)。
hideEffect     'hide'     The effect by which hiding the popup window.Options available: 'hide' ,'fadeout'.
设置大图隐藏的方式,可选参数:'hide' (隐藏),'fadeout'(淡出)。
fadeinSpeed     'slow'     Changes fade in speed,in case the showEffect option is set to 'fadein'.(options: 'fast','slow',number)
设置图片弹出的速度,仅当showEffect设置为fadein时有效,可选参数:'fast','slow',数字
fadeoutSpeed    '2000'     Changes fade out speed,in case the hideEffect option is set to 'fadeout'.(options: 'fast','slow',number)
设置图片隐藏的速度,仅当showEffect设置为fadeout时有效,可选参数:'fast','slow',数字
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值