PageSourceSearch

https://autism-singapore.com/wp-content/themes/zerogravity/js/zerogravity-scripts-functions.js?ver=2.2.8

js autism-singapore.com collected 2026-10-04 03:13:06 UTC 978 bytes, 37 lines download raw bytes

1/*
2 * ZeroGravity scripts functions
3 * https://galussothemes.com
4 */
5
6jQuery(document).ready(function() {
7
8	jQuery(".search-top-bar #btn-search").hide();
9
10	jQuery(".toggle-search").click(function() {
11		jQuery(".wrapper-search-top-bar").toggle();
12		jQuery(".wrapper-search-top-bar .txt-search").focus();
13	});
14
15	jQuery(".boton-menu-movil").click(function() {
16		jQuery("#menu-movil").toggle();
17	});
18
19	jQuery(".ir-arriba").click(function() {
20		jQuery('html, body').animate({ scrollTop: 0 }, 'fast');
21	});
22
23	// Mostrar/Ocultar botón 'Volver arriba'
24	if (jQuery('.ir-arriba').length) { // Comprobamos que exista el div (se ha podido desactivar en las opciones)
25		var refScroll = jQuery('#main');
26		var refScroll_offset = refScroll.offset();
27
28		jQuery(window).on('scroll', function() {
29			if(jQuery(window).scrollTop() > refScroll_offset.top) {
30			  jQuery(".ir-arriba").show(500);
31			} else {
32			  jQuery(".ir-arriba").hide();
33			}
34		});
35	}
36
37});

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.