Lampu langit-langit dan Kipas Angin

Image Name

‘;for(var t=0;t’;if(data[t][“text”]!=false){var _nofollow = data[t][“nofollow”]==true?’ rel=”nofollow”‘:”;var _target = data[t][‘tab_target’]==true?’ target=”_blank”‘:”;var _number = ”;if(tab==’right’) {_str +=”+data[t][‘text’]+”;} else{_str +=”+data[t][‘text’]+”+_number+”;}} if (data[t][‘children’] && data[t][‘children’] != ”) {var _data = data[t][‘children’];_str += ”;for (var p = 0; p ‘ + _data[p][‘text’] + ”;} else {_str += ” + _data[p][‘text’] + ”;}} _str += ”;} _str += ”;} _str += navbarVhtml + ‘

‘;} kembali _str;}; this.init = function () {var _data = me.options.data[‘menu’];for (var i = 0; i12) {$(‘.litb-cate-menu’).addClass(‘line-‘ + $(‘.litb-cate-menu h2’).length);} $this.parent(‘dl’).mouseenter(function () {if ($this.is(‘:hidden’)) {$this.fadeIn(‘fast’)}});$this.parent(‘dl’).mouseleave(function () {$this.fadeOut(‘fast’);});}; $.fn.litbMenuShow = fungsi (opsi) {var me = ini, $this = $(ini),defaults = {‘on’: false,’width’: [0, 226, 402, 574, 750],’height’: -1,’isFrist’: true};var browser = $.browser, isIE9 = browser.msie === true && browser.version === ‘9.0’;me.options = $.extend(defaults, options);this.getMenuHeight = function (obj) {return Math.max(me.options.height, $(‘.cate-menu-sub’, obj).height());}; this.setNewsletterHeight = fungsi (tinggi) {$(document).ready(function () {if ($(‘#mini-home-newsletter’)[0]) setTimeout(function () {getNewsletterHeight(height)}, 200);});}; this.show = function () {$(‘.cate-menu-out’, $this).each(function (m) {var $me = $(this);var elm = $(‘.cate-menu-sub>dl’, this);var size = Math.ceil(elm.length / 2), mSize = 0, rSize = 0;me.options.menuHeight = $(‘.cate-menu’).height();rSize = $(‘.litb-cate-menu-specialoffer’, this).length > 0 ? 176 : 0;mSize = $(‘.cate_menu_hero’, this).length > 0 ? 172 : 0;if (elm.length == 0) {$(‘.cate_menu_hero’, this).addClass(‘cate_menu_hero_left’);if ($(‘.cate_menu_hero’, ini).panjang > 0) mSize += 46;} else {if ($(‘.cate_menu_hero’, this).length > 0 && $(‘.litb-cate-menu-specialoffer’, this).length == 0) {mSize += 4;}} $(‘.cate_menu_hero’, ini).css({‘right’: rSize + ‘px’});var width = me.options[‘width’][size] + rSize + mSize;//$(‘.cate-menu-in’,this).css({‘width’:width+”px”,’top’:-m*28+’px’});//$(this).css({‘width’:width+240+”px”});//if(litb.baseURL.match(/lightinthebox/)){$(‘.cate-menu-in’, this).css({‘width’: width + “px”, ‘top’: 0 + ‘px’});$(this).css({‘width’: 240 + “px”});//}elm.each(function (n) {if (n != 0) {if (n == size) $(this).before(‘
‘);if (n >= size) $(this).addClass(‘bottop’);}}); me.options.height = $(‘#cate-menu’).height() + 20;$(this).hover(function () {//if($(this).find(‘h2 a’).length>0){if ($(this).find(‘.cate-menu-in’).find(‘.cate-menu-sub’).length > 0) {$(‘h2 em’, this).show();$(this).find(‘h2 a’).addClass(‘show-nav’);$(‘.cate-menu-in’, this).css({‘z-index’: 50}).show();$(this).find(‘.cate-menu-in’).css({‘height’: me.getMenuHeight($me) + ‘px’});$(this).find(‘.litb-cate-menu-specialoffer’).css({‘height’: me.getMenuHeight($me) + ‘px’ });$(‘#hotsNow’).css({‘margin-top’: me.getMenuHeight($me) + ‘px’});me.setNewsletterHeight(me.getMenuHeight($me));$(‘.cate-menu’).css({‘height’: me.getMenuHeight($me) + 1 + ‘px’});if (me.options.isFrist) {$(‘.cate-menu’).animate({‘width’: width + 241 + “px”}, 200);me.options.isFrist = false;} else {$(‘.cate-menu’).animate({‘width’: width + 241 + “px”}, 0).stop();}} else {if (me.options.isFrist) {$(‘.cate-menu’).animate({‘width’: width + 238 + “px”}, 200);me.options.isFrist = false;} else {$(‘.cate-menu’).animate({‘width’: width + 238 + “px”}, 0).stop();}} $(“.cate-menu-in”).filter(fungsi (indeks) {if (m != index) $(“.cate-menu-in”).eq(index).hide();});/ /}else{//$(‘.cate-menu’).stop().css({‘width’:238+”px”});//}}, function () {//$(‘.cate-menu-in’,this).hide();if ($(this).find(‘.cate-menu-in’).find(‘.cate-menu-sub’).length > 0) {$(this).find(‘h2 a’).removeClass(‘show-nav’);} $(‘h2 em’, this).hide();//if(litb.baseURL.match(/lightinthebox/)){$(“.cate-menu-in”, this).hide();//}//if(me.options.menuDeHeight == 0) me.options.menuDeHeight = me.options.height;if (isIE9) {$this.hide();$(‘.cate-menu’).css({‘height’: me.options.height + ‘px’, ‘z-index’: 0});$this.show();} else {$(‘.cate-menu’).css({‘height’: me.options.height + ‘px’, ‘z-index’: 0});} if(isIE9) $this.addClass(‘hover’);//$(‘.cate-menu’).animate({‘height’:me.options.menuDeHeight+’px’,’z-index’:-1},0,function(){if(isIE9) $this.removeClass(‘hover’);});/ /if(isIE9) $this.hide().show().css({‘z-index’:-1});});}); jika (browser.msie === true) $(‘.cate-menu-out:last’, $this).addClass(‘last’);}; this.getHtml = fungsi (data, elm, tab) {var _str = ”;d ata = data

;if (data && data != ”) {_str += ‘

‘;untuk (var t = 0; t ‘;if (data[t][“text”] != false) {var _nofollow = data[t][“nofollow”] == true ? ‘rel=”nofollow”‘ : ”;var _target = data[t][‘tab_target’] == true ? ‘ target=”_blank”‘ : ”;if (tab == ‘right’) {_str += ” + data[t][‘text’] + ‘

‘;} else {_str += ” + data[t][‘text’] + ‘

‘;}} if (data[t][‘children’] && data[t][‘children’] != ”) {var _data = data[t][‘children’];for (var p = 0; p ‘ + _data[p][‘text’] + ”;} else {_str += ” + _data[p][‘text’] + ‘

‘;} kembali _str;}; this.init = function () {var _data = me.options.data[‘menu’];for (var i = 0; i a’).mouseenter(function () {if ($this.is(‘:hidden’)) {$this.fadeIn(‘100’)}});$this.hover(function () {litb[‘onMenu’] = true;}, function () {litb[‘onMenu’] = false;//if(me.options.menuDeHeight == 0) me.options.menuDeHeight = me.options.height;me.options.isFrist = true;if (isIE9) {$this.hide();$(‘.cate-menu’).stop().css({‘height’: me.options.height, ‘width’: 238 + “px”});$this.show();} else {$(‘.cate-menu’).stop ().css({‘height’: me.options.height, ‘width’: 238 + “px”});}}); $(document).click(function () {if (!litb[‘onMenu’]) {$this.fadeOut(‘fast’);litb[‘onMenu’] = false;me.options.isFrist = true;}});} else {//me.options.menuDeHeight = $(‘.cate-menu’).height();$this.hover(function () {}, function () {me.options.isFrist = true;//$(‘.cate-menu’).stop().css({‘width’:238+”px”});if (isIE9) {$this.hide();$(‘.cate-menu’).stop().css({‘width’: 238 + “px”});$this.show();} else {$(‘.cate-menu’).stop().css({‘width’: 238 + “px”});} $(‘#hotsNow’).css({‘margin-top’: me.options.height + ‘px’});me.setNewsletterHeight(me.options.height);});}}; if (nav_rev) {// create sub menu$(‘.nav-revision’).litbMenuShowRevision({‘data’: litb[“category_menu”]});} else {// create sub menu$(‘.litb-cate-menu’).litbMenuShow({‘data’: litb[“category_menu”]});} fungsi item2Html(item, isFirst) {var attrs = ”;if (item.attributes) {for (attrName in item.attributes) {attrs += ‘

‘ + attrName + ‘: ‘ + item.attributes[attrName] + ‘

‘;}} kembalikan ‘\\\\\’ + (item.name ? item.name : ”) + ” + attrs +’\

‘;} litb.gwBaseURL=litb.gwBaseURL||” https://gw.lightinthebox.com/”;// header优化var OrderQuantityObj = {init: function () {this.bindEvents();//this.checkMaxMin($(“.quantity-select”));this.triggerChange($(“.quantity-select”));},bindEvents: function () {var _this = this;var isClick = true;var gwURLHead = litb.gwBaseURL;if (gwURLHead && && !gwURLHead.endsWith(‘/’)) {gwURLHead += ‘/’;} $(‘#navCartProductList’).off(‘click.increase’).on(‘click.increase’,’.num_increase’,function () {var $this = $(this);var $container = $this.parent();var miniCart_old_quantity;var is_item_checked = $container.attr(“data-checked”);var product_key = $container.find(‘.quantity-num’).attr(‘data-key’);var now = Number($container.find(“.quantity-num”).val());var max = $container.attr(“data-max-quantity”);var min = Number($container.attr(“data-min-quantity”)) || 1;var arrow_dom =’

‘;if (!max || nowmin){$container.find(‘.num_decrease’).removeClass(‘disabled’);} if(isClick){isClick = false;$(“.num_increase”).css(‘pointer-events’,’none’);$.ajax({type: ‘GET’,url: gwURLHead + (litb.lan === ‘en’ ? ” : litb.lan + ‘/’) + ‘index.php?main_page=info_check&action=ajax_shopping_cart_2020_change_products_num&hold_invalid=true&activeStatus=’ + is_item_checked + ‘&partial_check_out=1’ + ‘&cart_item_key=’ + product_key + ‘&old_qty=’ + miniCart_old_quantity + ‘&qty=’ + now,success: function(){$.getJSON(gwURLHead + (litb.lan === ‘en’ ? ” : litb.lan + ‘/’) + ‘index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language=’+litb.lan,function(data){if(!data.items || data.items.length == 0){$(‘#navCartInfoNote’).removeClass(‘loading’).html(arrow_dom+(‘

About penunggu

Image Name

Check Also

Hiasi ruang tamu dengan dinding kuning

Kuning adalah warna yang ideal untuk mengecat ruang tamu karena merangsang dan mengundang. Ini …

Leave a Reply

Your email address will not be published. Required fields are marked *