PageSourceSearch

https://xn--80ah0bw.xn--p1ai/plugins/system/plg_scroll2top/assets/js/plg_scroll2top.js

js xn--80ah0bw.xn--p1ai collected 2026-09-30 02:44:36 UTC 819 bytes, 28 lines download raw bytes

1/*
2# Plugin Scroll to Top Button - CSS3 based Plugin by it-conserv.de
3# ------------------------------------------------------------------------
4# Author    it-conserv.de
5# Copyright (C) 2016 it-conserv.de All Rights Reserved.
6# License - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
7# CSS Style is a free resource from http://littlesnippets.net/ 
8# Websites: it-conserv.de
9*/
10
11jQuery(function($) {
12$(document).ready(function(){
13	//Check to see if the window is top if not then display button
14	$(window).scroll(function(){
15		if ($(this).scrollTop() > 100) {
16			$('.scrollToTop').fadeIn();
17		} else {
18			$('.scrollToTop').fadeOut();
19		}
20	});
21	
22	//Click event to scroll to top
23	$('.scrollToTop').click(function(){
24		$('html, body').animate({scrollTop : 0},800);
25		return false;
26	});
27});
28});

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.