PageSourceSearch

https://garydavidstratton.com/wp-content/themes/attitude/library/js/backtotop.js?ver=7.1.2

js garydavidstratton.com collected 2026-09-24 11:39:05 UTC 577 bytes, 29 lines download raw bytes

1/**
2 * link: http://webdesignerwall.com/tutorials/animated-scroll-to-top
3 */
4
5jQuery(document).ready(function(){
6
7	// hide #back-top first
8	jQuery(".back-to-top").hide();
9	
10	// fade in #back-top
11	jQuery(function () {
12		jQuery(window).scroll(function () {
13			if (jQuery(this).scrollTop() > 1000) {
14				jQuery('.back-to-top').fadeIn();
15			} else {
16				jQuery('.back-to-top').fadeOut();
17			}
18		});
19
20		// scroll body to 0px on click
21		jQuery('.back-to-top a').click(function () {
22			jQuery('body,html,header').animate({
23				scrollTop: 0
24			}, 800);
25			return false;
26		});
27	});
28
29});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.