PageSourceSearch

https://ihm-newmelle.org/portals/ihmnewmelle2/Skins/Skin/js/scrolltop.call.js

js ihm-newmelle.org collected 2026-10-02 00:13:41 UTC 869 bytes, 40 lines download raw bytes

1//scroll top
2jQuery.fn.topLink = function(settings) {
3		settings = jQuery.extend({
4			min: 1,
5			fadeSpeed: 200,
6			ieOffset: 50
7		}, settings);
8		return this.each(function() {
9			var el = $(this);
10			el.css('display','none'); 
11			$(window).scroll(function() {
12				if(!jQuery.support.hrefNormalized) {
13					el.css({
14						'position': 'absolute',
15						'top': $(window).scrollTop() + $(window).height() - settings.ieOffset
16					});
17				}
18				if($(window).scrollTop() >= settings.min)
19				{
20					el.fadeIn(settings.fadeSpeed);
21				}
22				else
23				{
24					el.fadeOut(settings.fadeSpeed);
25				}
26			});
27		});
28	};
29$(document).ready(function() {
30	if ($(window).width() >= 960){
31			$('#top-link').topLink({
32				min: 300,
33				fadeSpeed: 500
34		});
35		$('#top-link').click(function(e) {
36			e.preventDefault();
37			$.scrollTo(0,300);
38		});
39	}
40});

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.