popup login page reload
Posted
by
Mahmoude Elghandour
on Stack Overflow
See other posts from Stack Overflow
or by Mahmoude Elghandour
Published on 2012-12-10T11:02:03Z
Indexed on
2012/12/10
11:03 UTC
Read the original article
Hit count: 178
i use fancybox for popup the login page
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);
}
});
as you see i use event 'onClosed': function () { parent.location.reload(true);
but i need to do this event but under some condition
if the user click close i need fancebox don't reload you can find this issues in this link http://www.aqar4me.com/rent.aspx
© Stack Overflow or respective owner