Signin  Pricing  Examples  Support

Libraries > totop.js

totop.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://gamekiller.net/styles/gamekiller/js/totop.js


Libraries on gamekiller.net


xenforo.js

cat_toggle.js

stickyMojo.js

totop.js



Explore More


dynupdate.js

jquery.fancybox-1.3.4.pack.js

jquery-migrate.min.js

jquery.noconflict.js

totop.js
				
jQuery(document).ready(function($){var offset=300,offset_opacity=1200,scroll_top_duration=700,$back_to_top=$('.cd-top');$(window).scroll(function(){($(this).scrollTop()>offset)?$back_to_top.addClass('cd-is-visible'):$back_to_top.removeClass('cd-is-visible cd-fade-out');if($(this).scrollTop()>offset_opacity){$back_to_top.addClass('cd-fade-out');}});$back_to_top.on('click',function(event){event.preventDefault();$('body,html').animate({scrollTop:0,},scroll_top_duration);});});


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z