(function ($) {
"use strict";
/*----------------------------
wow js active
------------------------------ */
new WOW().init();
/*----------------------------
Our fitness Section js activation code
------------------------------ */
$(".our-fitness-fields-area").owlCarousel({
autoPlay: false,
slideSpeed:2000,
pagination:false,
navigation:true,
items : 3,
/* transitionStyle : "fade", */ /* [This code for animation ] */
navigationText:["",""],
itemsDesktop : [1199,3],
itemsDesktopSmall : [980,3],
itemsTablet: [768,2],
itemsMobile : [479,1],
});
/*--------------------------
scrollUp
---------------------------- */
$.scrollUp({
scrollText: '',
easingType: 'linear',
scrollSpeed: 900,
animation: 'fade'
});
/*----------------------------
Fitness Expert Section js activation code
------------------------------ */
$(".expert-area").owlCarousel({
autoPlay: false,
slideSpeed:2000,
pagination:false,
navigation:true,
items : 3,
/* transitionStyle : "fade", */ /* [This code for animation ] */
navigationText:["",""],
itemsDesktop : [1199,3],
itemsDesktopSmall : [980,3],
itemsTablet: [768,2],
itemsMobile : [479,1],
});
/*--------------------------
Sticky Menu Activation Code
---------------------------- */
$(window).on('scroll', function(){
if( $(window).scrollTop()>100 ){
$('.sticky').addClass('stick');
} else {
$('.sticky').removeClass('stick');
}
});
$(window).on('scroll', function(){
if( $(window).scrollTop()>100 ){
$('.mob-sticky').addClass('mob-stick');
} else {
$('.mob-sticky').removeClass('mob-stick');
}
});
/*--------------------------
One Page Navigatiopn Activation Code
---------------------------- */
$('#nav,.down').onePageNav({
scrollOffset: 70
});
/*--------------------------
scrollUp
---------------------------- */
$.scrollUp({
scrollText: '',
easingType: 'linear',
scrollSpeed: 900,
animation: 'fade'
});
/*-------------------------
Make Appointment Custom js code
-------------------------*/
$(".appointemnt-area >a").click(function(){
$(".contact-form").slideToggle('slow');
});
/*-------------------------------------
jQuery MeanMenu
---------------------------------------*/
jQuery('nav#dropdown').meanmenu();
})(jQuery);