PageSourceSearch

https://mercuryservice.ca/sitesTmp/1001424/a346f0bd66f476b23bc47d0ef152be06-tmp.js?_=1791254098

js mercuryservice.ca collected 2026-10-08 06:11:20 UTC 1,930 bytes, 73 lines download raw bytes

1
2////site-uploads/1001424/frontjs/main.js
3
4/*handle phone numbers anchor href attr*/
5$(document).ready(function () {
6  // var tel_1 = 'tel:5196883278';
7  // $('body').find('a.tel-1').attr('href', tel_1);
8  // var tel_2 = 'tel:8556993278';
9  // $('body').find('a.tel-2').attr('href', tel_2);
10});
11
12/* slide to top */
13$(document).ready(function () {
14  $("a[href='#top']").on('click', function (e) {
15    e.preventDefault();
16    $('html, body').animate(
17      {
18        scrollTop: 0,
19      },
20      'slow'
21    );
22    return false;
23  });
24});
25
26// remove spaces from i tags
27$(document).ready(function () {
28  $('body').find('i').text('');
29});
30
31/* Start Handle Fake anchors */
32$(function () {
33  $('[data-href]').on('click', function (e) {
34    if (!e.target.matches('a')) {
35      var href = $(this).data('href');
36      window.location = href;
37    }
38  });
39});
40/* End Handle Fake anchors */
41
42// Website Scripts
43
44
45var myButton = document.getElementById("scroll-up");
46myButton.onclick = function () {
47    document.body.scrollTop = 0;
48    document.documentElement.scrollTop = 0;
49};
50
51(function () {
52var nav = $("#nav_62006"),
53navParent = $("#HeaderDiv"),
54phone = $(".phoneDesktop"),
55map = $(".mapDesktop"),
56stickyOffset = nav.offset().top,
57padding = nav.height();
58$(window).scroll(function () {
59var scroll = $(window).scrollTop();
60if (scroll >= stickyOffset) {
61nav.addClass("sticky-nav");
62phone.addClass("phoneDesktopScroll");
63map.addClass("map-divScroll");
64navParent.css({
65paddingTop: padding + "px"
66});
67if (window.innerWidth <= 767) { var centerDiv=$("#CenterDiv");
68centerDiv.css({ "margin-top" : padding }) } } else {
69nav.removeClass("sticky-nav"); phone.removeClass("phoneDesktopScroll"); if (window.innerWidth <=767) { var
70centerDiv=$("#CenterDiv") ;
71centerDiv.css({ "margin-top": padding })
72}; map.removeClass("map-divScroll");
73navParent.removeAttr("style"); } }); })(); 

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.