PageSourceSearch

https://itechdomain.com/js/main.js

js itechdomain.com collected 2026-10-05 22:02:02 UTC 1,470 bytes, 53 lines download raw bytes

1// Google Translator
2function translateLanguage(lang) {
3  
4    var $frame = $('.goog-te-menu-frame:first');
5    if (!$frame.size()) {
6        alert("Error: Could not find Google translate frame.");
7        return false;
8    }
9    $frame.contents().find('.goog-te-menu2-item span.text:contains(' + lang + ')').get(0).click();
10    return false;
11}
12
13// Loader
14$(window).on('load', function() { // makes sure the whole site is loaded 
15    $('#status').fadeOut(); // will first fade out the loading animation 
16    $('#preloader').delay(350).fadeOut('slow'); // will fade out the white DIV that covers the website. 
17    $('body').delay(350).css({'overflow':'visible'});
18 })
19
20
21 window.dataLayer = window.dataLayer || [];
22 function gtag(){dataLayer.push(arguments)};
23 gtag('js', new Date());
24 
25 gtag('config', 'UA-106537827-1');
26
27 // Nav Js
28 $(function () {
29    $(document).scroll(function () {
30    var $nav = $(".navbar-fixed-top-new");
31    $nav.toggleClass('scrolled', $(this).scrollTop() > $nav.height());
32    });
33});
34
35// Home Arrow
36$(window).scroll(function(){
37    $(".arrow").css("opacity", 1 - $(window).scrollTop() / 250); 
38  //250 is fade pixels
39  });
40
41
42  // Model Popup JS
43  $(document).ready(function(){
44    $('.launch-modal').click(function(){
45      $('#myModal').modal({
46       backdrop: 'static',
47       keyboard: false  
48      });
49    }); 
50  });
51
52  //Smooth Scroll
53  var scroll = new SmoothScroll('a[href*="#"]');

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.