PageSourceSearch

https://antonthat.github.io/assets/js/main.js

js antonthat.github.io collected 2026-10-03 08:38:12 UTC 815 bytes, 35 lines download raw bytes

1/* ==========================================================================
2   jQuery plugin settings and other scripts
3   ========================================================================== */
4
5$(document).ready(function(){
6
7  // Sticky footer
8  var bumpIt = function() {
9      $('body').css('margin-bottom', $('.page__footer').outerHeight(true));
10    },
11    didResize = false;
12
13  bumpIt();
14
15  $(window).resize(function() {
16    didResize = true;
17  });
18  setInterval(function() {
19    if(didResize) {
20      didResize = false;
21      bumpIt();
22    }
23  }, 250);
24
25  // init slimmenu responsive navigation
26  $('#navigation').slimmenu(
27  {
28      collapserTitle: 'Main Menu',
29      animSpeed: 'medium',
30      easingEffect: null,
31      indentChildren: true,
32      expandIcon: '+',
33      collapseIcon: '-'
34  });
35});

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.