1/* Template: Blink SaaS App Website Bootstrap HTML Template 2 Description: Custom JS file 3*/ 4 5 6$('document').ready(function(){ 7 8 9 10// slide up box 11/* $( ".feed-btn" ).click(function() { 12 $( "#myForm" ).slideToggle( "slow" ); 13}); 14 15 16$( ".closefeed" ).click(function() { 17 $( "#myForm" ).slideToggle( "slow" ); 18}); */ 19 20 21//SmartMenus jQuery init 22 23$(function() { 24 $('#main-menu').smartmenus({ 25 subMenusSubOffsetX: 1, 26 subMenusSubOffsetY: -8 27 }); 28 }); 29 30 31 32 33//Accordion Script for mobile nav 34$(function() { 35 var Accordion = function(el, multiple) { 36 this.el = el || {}; 37 this.multiple = multiple || false; 38 39 // Variables privadas 40 var links = this.el.find('.link'); 41 // Evento 42 links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown) 43 } 44 45 Accordion.prototype.dropdown = function(e) { 46 var $el = e.data.el; 47 $this = $(this), 48 $next = $this.next(); 49 50 $next.slideToggle(); 51 $this.parent().toggleClass('open'); 52 53 if (!e.data.multiple) { 54 $el.find('.submenu').not($next).slideUp().parent().removeClass('open'); 55 }; 56 } 57 58 var accordion = new Accordion($('#accordion'), false); 59 }); 60 61 62//Initialize Swiper 63var swiper = new Swiper(".mySwiper", { 64 slidesPerView: 1, 65 spaceBetween: 30, 66 pagination: { 67 el: ".swiper-pagination", 68 clickable: true, 69 }, 70 }); 71 72 73 74 75}); 76 77
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.