ログインページをポップアップするためにfancyboxを使用します
jQuery(function () {
jQuery(".spop").fancybox({
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'speedIn': 400,
'speedOut': 200,
'width': 320,
'height': 315,
'padding': 0,
'margin': 0,
'titleShow': false,
'scrolling': 'no',
'type': 'iframe',
'overlayShow': true,
'onClosed': function () {
parent.location.reload(true);
}
});
ご覧のとおり、イベント 'onClosed': function () {parent.location.reload(true); を使用します。
しかし、私はこのイベントを行う必要がありますが、いくつかの条件下で
ユーザーが [閉じる] をクリックした場合、fancebox が必要です。リロードしないでください。この問題は、このリンク http://www.aqar4me.com/rent.aspxで見つけることができます。