PHP Classes

File: js/custom.js

Recommend this page to a friend!
  Classes of Enoc Espinosa   Firma Imagen PHP   js/custom.js   Download  
File: js/custom.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Firma Imagen PHP
Generate image to use as signature for email
Author: By
Last change: Update of js/custom.js
Date: 1 year ago
Size: 1,331 bytes
 

Contents

Class file image Download
$(function () { 'use strict' // MENU $('.navbar .nav-link').on('click',function(){ $(".navbar-collapse").collapse('hide'); }); $(window).on('scroll', function() { /*----------------------------------------------------*/ /* Navigtion Menu Scroll /*----------------------------------------------------*/ var b = $(window).scrollTop(); if( b > 72 ){ $(".navbar").addClass("scroll"); } else { $(".navbar").removeClass("scroll"); } }); // TESTIMONIALS CAROUSEL $('#testimonials-carousel').owlCarousel({ loop:true, margin:10, responsiveClass:true, responsive:{ 0:{ items:1, }, 900:{ items:2, }, 1200:{ items:3, loop:false } } }) // SMOOTHSCROLL $(function() { $('.navbar .nav-link').on('click', function(event) { var $anchor = $(this); $('html, body').stop().animate({ scrollTop: $($anchor.attr('href')).offset().top - 49 }, 1000); event.preventDefault(); }); }); });