Loading....
it can be solved by fancy beforeLoad
Last Update: Posted by: müslüm ÇEN$(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(); });