PageSourceSearch

https://www.experienciascv.es/o/experiencias-theme/js/scrollup.js

js experienciascv.es collected 2026-09-28 23:44:10 UTC 780 bytes, 38 lines download raw bytes

1(function() {
2	"use strict";
3	
4	var buttonShow=false;
5	
6	var selectors={
7		
8	};
9	
10	$( window ).scroll(function() {
11		if(!buttonShow){			
12			createElement();
13		}else if($( window ).scrollTop() == 0){
14			jQuery("#scrollup").remove();
15			buttonShow=false;
16		}
17	});
18	
19	var createElement = function (){
20		buttonShow=true;
21		jQuery("#scrollup").remove();
22		var button = jQuery("<div id='scrollup'><i class='glyphicon glyphicon-menu-up align-middle'></i></div>");
23		button.on("touchstart click",removeElement);
24		jQuery("body").append(button.bind(this));
25		
26	};	
27	var removeElement = function(){		
28		jQuery("*").animate({
29			   scrollTop: 0
30		}, 800, function(){
31			setTimeout(function(){
32				jQuery("#scrollup").remove();
33				buttonShow=false;
34			}.bind(this), 200);
35		});
36		
37	};
38})($)

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.