diff --git a/js/app.js b/js/app.js index 9f3a7cf..90ee4fb 100755 --- a/js/app.js +++ b/js/app.js @@ -1,5 +1,5 @@ jQuery(document).ready(function($){"use strict";$(document).foundation();if($('form#contact_form').length>0){$('form#contact_form').validate({messages:{},submitHandler:function(form){$.ajax({type:'POST',url:'send.php',data:$(form).serialize(),success:function(data){if(data.match(/success/)){$(form).trigger('reset');$('#thanks').show().fadeOut(5000);}}});return false;}});} -$('#menu-toggler').on('click',function(){$('.top-bar-section').toggle();return false;});if($('#slides').length>0){$('#slides').on('init.slides',function(){var that=this;setTimeout(function(){$('.slides-container',that).children().eq(0).addClass('active');},300);});$('#slides').superslides({animation:'fade',hashchange:false,play:5000});$('#slides').on('animated.slides',function(){$('.slides-container',this).children().removeClass('active');var index=$(this).superslides('current');var that=this;setTimeout(function(){$('.slides-container',that).children().eq(index).addClass('active');},300);});} +$('#menu-toggler').on('click',function(){$('.top-bar-section').toggle();return false;});if($('#slides').length>0){$('#slides').on('init.slides',function(){var that=this;setTimeout(function(){$('.slides-container',that).children().eq(0).addClass('active');},300);});$('#slides').superslides({animation:'fade',hashchange:false,play:10000});$('#slides').on('animated.slides',function(){$('.slides-container',this).children().removeClass('active');var index=$(this).superslides('current');var that=this;setTimeout(function(){$('.slides-container',that).children().eq(index).addClass('active');},300);});} if($('.slides').length>0){$('.slides').slick({autoplay:true,pauseOnHover:false,dots:true,speed:1000,arrows:false});} new WOW().init();var bars=$(".bars");for(var i=0;i li > .highlighted',$(bar));for(var j=0;j0){$('.clients').slick({slidesToShow:5,slidesToScroll:1,autoplay:true,autoplaySpeed:3000,pauseOnHover:false,responsive:[{breakpoint:767,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1}}]});}