//Search Box (Header)
function handleSearch() {
jQuery('.search').click(function () {
if(jQuery('.search-btn').hasClass('fa-search')){
jQuery('.search-open').fadeIn(500);
jQuery('.search-btn').removeClass('fa-search');
jQuery('.search-btn').addClass('fa-times');
} else {
jQuery('.search-open').fadeOut(500);
jQuery('.search-btn').addClass('fa-search');
jQuery('.search-btn').removeClass('fa-times');
}
});
};
function showWechat(){
$("#top-wechat-box").hover(
function () {
$(this).find("#top-wechat-img").slideDown();
},
function () {
$(this).find("#top-wechat-img").slideUp();
}
);
};
function showAds(){
$("#owl-top").owlCarousel({
autoPlay: 8000, //Set AutoPlay to 3 seconds
items : 1,
itemsDesktop : [1199,4],
itemsDesktopSmall : [979,4],
pagination:false,
navigation:false,
//navigationText:['','']
});
};
handleSearch();
showWechat();
showAds();