我遇到FancyBox的问题。它应该根据图像的尺寸自动调整包装的大小。这不是那样做的。具体来说,它太小了。Fancybox包装无法正确自动调整图像尺寸
这里的的fancybox jQuery代码我使用:
$("a[rel=photo_gallery]").fancybox({
'type' : 'image',
'padding' : 10,
'autoScale' : true,
'cyclic' : true,
'overlayOpacity' : 0.7,
'overlayColor' : '#000000',
'transitionIn' : 'fade',
'transitionOut' : 'fade',
'titlePosition' : 'over',
'titleShow' : false,
'resize' : 'Auto'
});
有没有其他人曾经碰到这个问题?
在此先感谢您的帮助。
它确实有帮助!我担心这可能是我拒绝其他弹窗管理者的原因。花了我很长时间才意识到存在一个css冲突 – 2013-02-02 03:24:10