').appendTo("body"); }); $(function(){ $(".gototop_backToTop").goToTopijs(); var $scroll_container = $(window).add('#scroll_container'); $scroll_container.bind('scroll resize',function(){ $(".gototop_backToTop").goToTopijs({ pageWidth:960, duration:0 }); }); });