PageSourceSearch

https://www.cancerhotspots.org/lib/js/freelancer.js

js cancerhotspots.org collected 2026-10-03 21:17:29 UTC 1,311 bytes, 37 lines download raw bytes

1/*!
2 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
3 * Code licensed under the Apache License v2.0.
4 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 */
6
7// jQuery for page scrolling feature - requires jQuery Easing plugin
8$(function() {
9    $('body').on('click', '.page-scroll a', function(event) {
10        var $anchor = $(this);
11        $('html, body').stop().animate({
12            scrollTop: $($anchor.attr('href')).offset().top
13        }, 1500, 'easeInOutExpo');
14        event.preventDefault();
15    });
16});
17
18// Floating label headings for the contact form
19$(function() {
20    $("body").on("input propertychange", ".floating-label-form-group", function(e) {
21        $(this).toggleClass("floating-label-form-group-with-value", !! $(e.target).val());
22    }).on("focus", ".floating-label-form-group", function() {
23        $(this).addClass("floating-label-form-group-with-focus");
24    }).on("blur", ".floating-label-form-group", function() {
25        $(this).removeClass("floating-label-form-group-with-focus");
26    });
27});
28
29// Highlight the top nav as scrolling occurs
30$('body').scrollspy({
31    target: '.navbar-fixed-top'
32})
33
34// Closes the Responsive Menu on Menu Item Click
35$('.navbar-collapse ul li a').click(function() {
36    $('.navbar-toggle:visible').click();
37});

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.