Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.145.61.142
jQuery(document).on('ready', function ($) {
"use strict";
/*--------------------------
STICKY MAINMENU
---------------------------*/
$("#mainmenu-area").sticky({
topSpacing: 0
});
/*---------------------------
SMOOTH SCROLL
-----------------------------*/
$('ul#nav li a[href^="#"], a.navbar-brand, a.scrolltotop').on('click', function (event) {
var id = $(this).attr("href");
var offset = 60;
var target = $(id).offset().top - offset;
$('html, body').animate({
scrollTop: target
}, 100, "easeInOutExpo");
event.preventDefault();
});
/*----------------------------
MOBILE & DROPDOWN MENU
------------------------------*/
jQuery('.stellarnav').stellarNav({
theme: 'dark'
});
/*----------------------------
SCROLL TO TOP
------------------------------*/
$(window).scroll(function () {
var $totalHeight = $(window).scrollTop();
var $scrollToTop = $(".scrolltotop");
if ($totalHeight > 300) {
$(".scrolltotop").fadeIn();
} else {
$(".scrolltotop").fadeOut();
}
if ($totalHeight + $(window).height() === $(document).height()) {
$scrollToTop.css("bottom", "90px");
} else {
$scrollToTop.css("bottom", "20px");
}
});
/*--------------------------
PARALLAX BACKGROUND
----------------------------*/
$(window).stellar({
responsive: true,
positionProperty: 'position',
horizontalScrolling: false
});
/*------------------------------
VIDEO POPUP
--------------------------------*/
var $videoModal = $(".video-area-popup");
$videoModal.modalVideo({
channel: 'youtube'
});
/*---------------------------
MICHIMP INTEGRATION
-----------------------------*/
$('#mc-form').ajaxChimp({
url: 'http://intimissibd.us14.list-manage.com/subscribe/post?u=a77a312486b6e42518623c58a&id=4af1f9af4c', //Set Your Mailchamp URL
callback: function (resp) {
if (resp.result === 'success') {
$('.subscriber-form input, .subscriber-form button').hide();
}
}
});
/*---------------------------
TESTMONIAL SLIDER
-----------------------------*/
var $testmonialCarousel = $('.testmonial-member-list');
$testmonialCarousel.owlCarousel({
merge: true,
smartSpeed: 1000,
loop: true,
nav: false,
center: true,
dots: true,
navText: ['<i class="fa fa-long-arrow-left"></i> Prev', 'Next <i class="fa fa-long-arrow-right"></i>'],
autoplay: true,
autoplayTimeout: 3000,
margin: 20,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
},
1200: {
items: 1
}
}
});
/*---------------------------
HOME THREE TESTMONIAL SLIDER
-----------------------------*/
var $testmonialCarousel = $('.testmonial-slider-two');
$testmonialCarousel.owlCarousel({
merge: true,
smartSpeed: 1000,
loop: true,
nav: false,
dots: false,
rtl: false,
center: false,
navText: ['<i class="fa fa-long-arrow-left"></i> Prev', 'Next <i class="fa fa-long-arrow-right"></i>'],
autoplay: true,
autoplayTimeout: 3000,
margin: 30,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
},
1200: {
items: 3
},
1900: {
items: 3
}
}
});
/*---------------------------
VIDEO PROMO SLIDER
-----------------------------*/
var $promoCarousel = $('.video-promo-slider');
$promoCarousel.owlCarousel({
merge: true,
smartSpeed: 1000,
loop: true,
nav: false,
dots: true,
center: true,
navText: ['<i class="fa fa-long-arrow-left"></i> Prev', 'Next <i class="fa fa-long-arrow-right"></i>'],
autoplay: true,
autoplayTimeout: 3000,
margin: 20,
animateIn: 'fadeIn',
animateOut: 'fadeOut',
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
},
1200: {
items: 1
}
}
});
/*---------------------------
SCREENSHOT SLIDER
-----------------------------*/
var $screenshotCarousel = $('.screenshot-slider');
$screenshotCarousel.owlCarousel({
merge: true,
smartSpeed: 1000,
loop: true,
nav: false,
center: true,
navText: ['<i class="fa fa-long-arrow-left"></i> Prev', 'Next <i class="fa fa-long-arrow-right"></i>'],
autoplay: true,
autoplayTimeout: 3000,
margin: 30,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 3
},
1000: {
items: 5
},
1200: {
items: 5
},
1900: {
items: 6
}
}
});
/*---------------------------
HOME TWO SCREENSHOT SLIDER
-----------------------------*/
var $screenshotCarousel = $('.screenshot-slider-2');
$screenshotCarousel.owlCarousel({
merge: true,
smartSpeed: 1000,
loop: true,
nav: false,
rtl: false,
center: false,
navText: ['<i class="fa fa-long-arrow-left"></i> Prev', 'Next <i class="fa fa-long-arrow-right"></i>'],
autoplay: true,
autoplayTimeout: 3000,
margin: 30,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 3
},
1000: {
items: 3
},
1200: {
items: 3
},
1900: {
items: 4
}
}
});
/*---------------------------
TEAM SLIDER ACTIVE
---------------------------*/
$('.team-slider').slick({
dots: true,
arrows: false,
autoplay: true,
speed: 1000,
nav: false,
vertical: true,
slidesToShow: 2,
responsive: [
{
breakpoint: 1280,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
// You can unslick at a given breakpoint now by adding:
// settings: "unslick"
// instead of a settings object
]
});
/*--------------------------
ACTIVE WOW JS
----------------------------*/
new WOW().init();
}(jQuery));
jQuery(window).on('load', function () {
"use strict";
/*--------------------------
PRE LOADER
----------------------------*/
$(".preeloader").fadeOut(1000);
});
|