Loading....
it can be solved by fancy beforeLoad $(document).ready(function() { var fancy_top = ""; $("[id^='fancy_popup']").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe', 'afterClose' : function() { document.body.scrollTop=fancy_top; $('html, body').animate({ scrollTop:fancy_top });}, 'beforeLoad' : function() { var fancy_top = document.body.scrollTop; } }); $('.fancybox').fancybox(); });
Last Update: 13/12/2017 Posted by: müslüm ÇEN