jQuery的fancybox插件,showActivity方法怎么使用呢.求解答啊。
本帖最后由 vip3652204732 于 2012-12-06 10:27:12 编辑
jQuery的fancybox插件,showActivity方法怎么使用呢.求解答啊。下面是我写的代码。
$.fancybox.showActivity();
$.fancybox({
'href' : 'http://www.163.com',
'width' : 980,
'height' : 550,
'margin' : 0,
'padding' : 0,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'opacity' : true,
'scrolling' : 'auto',
'centerOnScroll' : true,
'showCloseButton' : true,
'enableEscapeButton': true
});
$.fancybox.showActivity();
var $v=$.fancybox({
'href' : 'http://www.163.com',
'width' : 980,
'height' : 550,
'margin' : 0,
'padding' : 0,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'opacity' : true,
'scrolling' : 'auto',
'centerOnScroll' : true,
'showCloseButton' : true,
'enableEscapeButton': true
});
$v.showActivity();