PageSourceSearch

https://www.bristellaircraftsa.co.za/wp-content/themes/bristell_ac/js/jquery.backtotop.js?ver=7.1.3

js bristellaircraftsa.co.za collected 2026-10-08 23:35:57 UTC 1,257 bytes, 38 lines download raw bytes

1/*
2Template Name: Skaxis
3Author: <a href="http://www.os-templates.com/">OS Templates</a>
4Author URI: http://www.os-templates.com/
5Licence: Free to use under our free template licence terms
6Licence URI: http://www.os-templates.com/template-terms
7File: Back to Top JS
8*/
9
10function fixedHeader() {
11            
12    var headerTopBar = jQuery('#header-image-wrapper').outerHeight(),
13        headerTwoELement = jQuery('#header-to-fix'),
14        heightoset = jQuery('#header-to-fix').outerHeight(),
15        scrollpast = headerTopBar / 4;
16    
17    if (jQuery(window).scrollTop() > scrollpast) {
18        jQuery(headerTwoELement).addClass('navbar-fixed');
19        jQuery('#header-image-wrapper').css('margin-top', headerTwoELement.outerHeight());
20    } else {
21        jQuery(headerTwoELement).removeClass('navbar-fixed');
22        jQuery('#header-image-wrapper').css('margin-top', 0);
23    }
24}
25
26jQuery("#backtotop").click(function () {
27    jQuery("body,html").animate({
28        scrollTop: 0
29    }, 600);
30});
31jQuery(window).scroll(function () {
32    if (jQuery(window).scrollTop() > 150) {
33        jQuery("#backtotop").addClass("visible");
34    } else {
35        jQuery("#backtotop").removeClass("visible");
36    }
37    fixedHeader();
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.