popup login page reload
- by Mahmoude Elghandour
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