fbpx

Chuyên mục: Lazada

Mega Sale LAZADA 12.12 freeship + mã giảm giá lên đến 5 triệu LẤY MÃ NGAY

").after(c.lastChild)}d&&(f.id=d+"-script"),f.src=e,c.appendChild(f)})},TVE_Dash.send_ajax=function(b,c){a.ajax({url:tve_dash_front.ajaxurl,xhrFields:{withCredentials:!0},data:{action:"tve_dash_front_ajax",tve_dash_data:b},dataType:"json",type:"post"}).done(function(b){b&&a.isPlainObject(b)&&(b.__resources&&(b.__resources.css&&TVE_Dash.ajax_load_css(b.__resources.css),b.__resources.js&&TVE_Dash.ajax_load_js(b.__resources.js),delete b.__resources),a.each(b,function(a,b){if("function"!=typeof c[a])return!0;c[a].call(null,b)}))})},a(function(){setTimeout(function(){var d=new a.Event("tve-dash.load");return a(document).trigger(d),!a.isEmptyObject(b)&&(!(!tve_dash_front.force_ajax_send&&tve_dash_front.is_crawler)&&(TVE_Dash.send_ajax(b,c),void(TVE_Dash.ajax_sent=!0)))})})}(ThriveGlobal.$j)}catch(e){console.log(e)}try{jQuery(document).ready(function() { function isScrolledTo(elem,top) { var docViewTop = jQuery(window).scrollTop(); //num of pixels hidden above current screen var docViewBottom = docViewTop + jQuery(window).height();var elemTop = jQuery(elem).offset().top - top; //num of pixels above the elem var elemBottom = elemTop + jQuery(elem).height();return ((elemTop <= docViewTop)); }function stickThatMenu(sticky,catcher,top) { if(isScrolledTo(sticky,top)) { sticky.addClass('sticky-navigation-active'); catcher.height(sticky.height()); } var stopHeight = catcher.offset().top; if ( stopHeight > sticky.offset().top) { sticky.removeClass('sticky-navigation-active'); catcher.height(0); } }var catcher = jQuery('#catcher'), sticky = jQuery('.sticky-navigation'), bodyTop = jQuery('body').offset().top;if ( sticky.length ) { jQuery(window).scroll(function() { stickThatMenu(sticky,catcher,bodyTop); }); jQuery(window).resize(function() { stickThatMenu(sticky,catcher,bodyTop); }); } })}catch(e){console.log(e)}