PageSourceSearch

https://fisioterapiesvilanova.com/Themes/Dayvo.Bootstrap/scripts/custom.js

js fisioterapiesvilanova.com collected 2026-10-08 20:06:33 UTC 1,370 bytes, 44 lines download raw bytes

1$(document).ready(function () {
2    // NAVIGATION
3    // change submenu arrow
4    $('.dropdown-menu i').removeClass('fa-angle-down').addClass('fa-angle-right').addClass('pull-right');
5
6    // make sure submenu item links work
7    $('.dropdown-menu > .dropdown > a').click(function () {
8        window.location.href = $(this).attr('href');
9    });
10
11    // add top margin to first container below menu when using fixed navbar
12    $('.navbar-wrapper .navbar-fixed-top').parent('div').next('div').css('margin-top', ($('.navbar-fixed-top').height() + 20) + 'px');
13
14    // add bottom margin to body equal to the footer height when using sticky footer
15    if ($('html').hasClass('sticky-footer')) {
16        var footerHeight = $('#layout-footer').height();
17
18        $('body').css('margin-bottom', footerHeight + 'px');
19    }
20
21    // ALERTS
22    $('.alert').alert();
23
24    // FORMS
25    $('form').validationEngine({
26        promptPosition: 'centerRight'
27    });
28
29    // PAGINATION
30    $('#pager-current').parent('li').addClass('active');
31
32    // TO TOP
33    $(window).scroll(function () {
34        if ($(this).scrollTop() !== 0) {
35            $("#toTop").fadeIn();
36        } else {
37            $("#toTop").fadeOut();
38        }
39    });
40
41    $("#toTop").click(function () {
42        $("body,html").animate({ scrollTop: 0 }, 2e3);
43    });
44});

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.