PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
js
/** * Rehub Live Customizer */ ( function( $ ) { if($('.rh-comparemenu-link.rh-header-icon').length > 0){ $('.rh-comparemenu-link.rh-header-icon').prepend("<span class='re-compare-icon-toggle'><i class='fal fa-balance-scale' aria-hidden='true'></i><span class='re-compare-notice'>0</span></span>") } wp.customize('rehub_body_block', function(value) { value.bind(function(newval) { if( newval == 1 ) { $('body').addClass('rh-boxed-container'); }else{ $('body').removeClass('rh-boxed-container'); } }); }); wp.customize('rehub_content_shadow', function(value) { value.bind(function(newval) { if( newval == 1 ) { $('body').addClass('no_bg_wrap'); }else{ $('body').removeClass('no_bg_wrap'); } }); }); wp.customize('rehub_logo', function(value) { var LogoSection = $('.logo-section').html(); value.bind(function(newval) { if(newval){ var LogoHTML = '<a href="/" class="logo_image"><img src="'+newval+'" /></a>'; $('.logo-section .logo').html(LogoHTML); }else{ $('.logo-section').html(LogoSection); } }); }); wp.customize('rehub_text_logo', function(value) { Logo = $('.logo').html(); value.bind(function(newval) { if(newval){ $('.logo-section .textlogo').text(newval); }else{ $('.logo').html(Logo); } }); }); wp.customize('rehub_text_slogan', function(value) { Logo = $('.logo').html(); value.bind(function(newval) { if(newval){ $('.logo-section .sloganlogo').text(newval); }else{ $('.logo').html(Logo); } }); }); wp.customize('rehub_sticky_nav', function(value) { var MainNav = $('#main_header').html(); value.bind(function(newval) { if( newval == 1 ) { $('.main-nav').addClass('rh-stickme'); $('.main-nav .rh-container').addClass('rh-flex-center-align logo_insticky_enabled'); $(".rh-stickme").sticky({topSpacing:0, wrapperClassName: 'sticky-wrapper re-stickyheader', getWidthFrom: '.header_wrap', responsiveWidth : true}); }else{ $('#main_header').html(MainNav); } }); }); wp.customize('rehub_logo_sticky_url', function(value) { value.bind(function(newval) { if(newval){ var LogoSticky = '<a href="/" class="logo_image_insticky"><img src="'+newval+'" /></a>'; $('.main-nav .rh-container').prepend(LogoSticky); }else{ $('.logo_image_insticky').replaceWith(''); } }); }); wp.customize('header_logoline_style', function(value) { value.bind(function(newval) { if( newval == 1 ) { $('#main_header').removeClass('white_style'); $('#main_header').addClass('dark_style'); }else{ $('#main_header').removeClass('dark_style'); $('#main_header').addClass('white_style'); } }); }); wp.customize('header_menuline_style', function(value) { value.bind(function(newval) { if( newval == 1 ) { $('div.main-nav').removeClass('white_style'); $('div.main-nav').addClass('dark_style'); }else{ $('div.main-nav').removeClass('dark_style'); $('div.main-nav').addClass('white_style'); } }); }); wp.customize('header_topline_style', function(value) { value.bind(function(newval) { if( newval == 1 ) { $('.header_top_wrap').removeClass('white_style'); $('.header_top_wrap').addClass('dark_style'); }else{ $('.header_top_wrap').removeClass('dark_style'); $('.header_top_wrap').addClass('white_style'); } }); }); } )( jQuery );
[+]
..
[-] custom.js
[edit]
[-] masonry_init_infauto.js
[edit]
[-] masonry_init_scroll_on_click.js
[edit]
[-] customizer.js
[edit]
[-] masonry_init.js
[edit]
[-] printcoupon.js
[edit]
[-] jquery.justifiedGallery.min.js
[edit]
[-] masonry.pkgd.min.js
[edit]
[-] modulobox.min.js
[edit]
[-] theme-customizer.js
[edit]
[-] video_playlist.js
[edit]
[-] typehead.js
[edit]
[-] jquery.totemticker.js
[edit]
[-] jquery.nouislider.full.min.js
[edit]
[-] affegg_coupons.js
[edit]
[-] jquery.tablesorter.min.js
[edit]
[-] postviews.js
[edit]
[-] jquery.waypoints.min.js
[edit]
[-] meta-boxes-post.js
[edit]
[-] jquery.sticky.js
[edit]
[-] jquery.infinitescroll.min.js
[edit]
[-] comparechart.js
[edit]
[-] custom_floatpanel.js
[edit]
[-] jquery.flexslider-min.js
[edit]
[-] owl.carousel.min.js
[edit]
[-] jquery.carouFredSel-6.2.1-packed.js
[edit]
[-] clipboard.min.js
[edit]
[-] commentplus_re.js
[edit]
[-] imagesloaded.pkgd.min.js
[edit]
[-] nouislider.min.js
[edit]
[-] stickysidebar.js
[edit]
[-] html5shiv.js
[edit]
[-] jquery.touchSwipe.min.js
[edit]
[-] custom_scroll.js
[edit]
[-] jquery.lwtCountdown-1.0.js
[edit]