function infoBox(title,text){
$('.infobox').dialog({
open: function(event, ui) {$('.infobox').append('<p style="display:none;>'+text+'</p>');
},
beforeClose: function(event, ui) {$('.infobox p').remove();
},
show:'drop' ,
position:'top',
title:title,
});
};
是不是有什么东西像afteropen:
选项?jquery ui对话框 - 淡入效果
或任何其他方式让ui-effect完成后附加文本淡入?
可能像这样的:show:[{show:'drop', function(){$('.infobox p').fadeIn();}],
?在此先感谢
显示: '下拉' 启动效应 – 2013-02-28 23:17:47