1// MAIN.JS 2//-------------------------------------------------------------------------------------------------------------------------------- 3//This is main JS file that contains custom JS scipts and initialization used in this template*/ 4// ------------------------------------------------------------------------------------------------------------------------------- 5// Author: Designova. 6// Website: http://www.designova.net 7// Copyright: (C) 2014 8// ------------------------------------------------------------------------------------------------------------------------------- 9 10/*global $:false */ 11/*global window: false */ 12 13(function(){ 14 "use strict"; 15 16 17$(function ($) { 18 19 20 //Intro FullScreen Carousel Setup 21 $("#intro-carousel").owlCarousel({ 22 navigation : true, 23 pagination: false, 24 responsive: true, 25 items: 1, 26 touchDrag: true, 27 navigationText: false, 28 mouseDrag: true, 29 itemsDesktop: [3000,1], 30 itemsDesktopSmall: [1440,1], 31 itemsTablet:[1024,1], 32 itemsTabletSmall: [600,1], 33 itemsMobile: [360,1], 34 autoPlay: false 35 }); 36 37 //Vertical Centering of Inner Contents in Intro Carousel Slides 38 $(function ($) { 39 var ph = $('.intro-carousel .item').height(); 40 var oh = $('.intro-slide-inner').height(); 41 var tm = (ph - oh)/2; 42 $('.intro-vertical-align').css( 'padding-top' , tm); 43 }); 44 45 46 47}); 48// $(function ($) : ends 49 50})(); 51// JSHint wrapper $(function ($) : ends 52 53 54 55 56 57 58 59 60
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.