$("#aSolucoes").click(function(e) {
e.preventDefault();
mostrarCarregando();
$("#divModal").load('Consulting.aspx', aposCarregamento);
});
function mostrarCarregando() {
$("#divModal").css('display', 'block').fadeIn(1000);
};
function aposCarregamento() {
$("#divModal").reveal({
animation: 'fadeAndPop', //fade, fadeAndPop, none
animationspeed: 300, //how fast animtions are
closeonbackgroundclick: true, //if you click background will modal close?
dismissmodalclass: 'close-reveal-modal' //the class of a button or element that will close an open modal
});
};
增加了两个选项,请查看我的答案;) – Luis 2012-04-19 02:29:25