PageSourceSearch

https://www.ragingthunder.com.au/wp-content/themes/expedite/assets/js/global.js?ver=6.6.9

js ragingthunder.com.au collected 2026-09-26 12:03:00 UTC 2,431 bytes, 81 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3    new WOW().init();
4    $('.venobox').venobox();
5    //RESPONSIVEUI.responsiveTabs();
6
7    jQuery('.block-item-bg').matchHeight({ byRow: true });
8    jQuery('.contact-image-row .col-md-6').matchHeight({ byRow: true });
9
10});
11//Mobile Nav//
12; (function ($) {
13    // DOM ready
14    $(function () {
15        // Append the mobile icon nav
16        $('.header-bottom').prepend($('<a id="nav-toggle" href="#"><span></span></a> '));
17        // Add a <span> to every .nav-item that has a <ul> inside
18        $('#menu-main-menu li').has('ul').prepend('<span class="nav-click"><i class="nav-arrow"></i></span>');
19        // Click to reveal the nav
20        $('#nav-toggle').click(function () {
21            this.classList.toggle("active");
22            $('#menu-main-menu').slideToggle('slow');
23        });
24        // Dynamic binding to on 'click'
25        $('#menu-main-menu').on('click', '.nav-click', function () {
26            // Toggle the nested nav
27            $(this).siblings('.sub-menu').slideToggle();
28            // Toggle the arrow using CSS3 transforms
29            $(this).children('.nav-arrow').toggleClass('nav-rotate');
30        });
31    });
32})(jQuery);
33
34
35jQuery(document).ready(function ($) {
36    var $toggle = $('#nav-toggle');
37    $('#overlay-nav').hcOffcanvasNav({
38        disableAt: 10000,
39        levelTitles: false,
40        position: 'right',
41        removeOriginalNav: true
42    });
43
44    var video =  document.querySelectorAll('video')
45
46//add source to video tag
47function addSourceToVideo(element, src) {
48    var source = document.createElement('source');
49    source.src = src;
50    source.type = 'video/mp4';
51      console.log(src);
52    element.appendChild(source);
53
54}
55
56//determine screen size and select mobile or desktop vid
57function whichSizeVideo(element, src) {
58    var windowWidth = window.innerWidth ? window.innerWidth : $(window).width();
59    if (windowWidth > 1000 ) {
60        addSourceToVideo( element, src.dataset.desktopVid);
61    } else {
62        addSourceToVideo(element, src.dataset.mobileVid);
63    }
64}
65
66//init only if page has videos
67function videoSize() {
68    if (video !== undefined) {
69    video.forEach(function(element, index) {
70            whichSizeVideo(
71                element, //element
72                element  //src locations
73            );
74        });
75    }
76}
77videoSize();
78
79
80
81});

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.