1//select label 2$('select').focus(function () { 3 $(this).parents('.form-group').addClass('focused'); 4}); 5 6$('select').blur(function () { 7 var inputValue = $(this).val(); 8 if (inputValue == "") { 9 $(this).removeClass('filled'); 10 $(this).parents('.form-group').removeClass('focused'); 11 } else { 12 $(this).addClass('filled'); 13 } 14}) 15 16//textarea label 17$('textarea').focus(function () { 18 $(this).parents('.form-group').addClass('focused'); 19}); 20 21$('textarea').blur(function () { 22 var inputValue = $(this).val(); 23 if (inputValue == "") { 24 $(this).removeClass('filled'); 25 $(this).parents('.form-group').removeClass('focused'); 26 } else { 27 $(this).addClass('filled'); 28 } 29}) 30 31$('.partner .slider-partner-say').slick({ 32 slidesToShow: 3, 33 slidesToScroll: 1, 34 dots: true, 35 arrows: false, 36 autoplay: true, 37 autoplaySpeed: 5000, 38 infinite: true, 39 responsive: [ 40 { 41 breakpoint: 767, 42 settings: { 43 slidesToShow: 1 44 } 45 } 46 ] 47}); 48 49 50$('.retail .slider-rt-location').slick({ 51 slidesToShow: 6, 52 slidesToScroll: 1, 53 dots: false, 54 autoplay: false, 55 autoplaySpeed: 5000, 56 infinite: true, 57 responsive: [ 58 { 59 breakpoint: 767, 60 settings: { 61 slidesToShow: 2, 62 dots: true, 63 arrows: true, 64 } 65 } 66 ] 67}); 68 69$('#slider-shop-lot01').slick({ 70 slidesToShow: 1, 71 slidesToScroll: 1, 72 dots: true, 73 arrows: false, 74 autoplay: true, 75 autoplaySpeed: 5000, 76 infinite: true 77}); 78 79$('#slider-shop-lot02').slick({ 80 slidesToShow: 1, 81 slidesToScroll: 1, 82 dots: true, 83 arrows: false, 84 autoplay: true, 85 autoplaySpeed: 5000, 86 infinite: true 87}); 88 89$('#slider-shop-lot01_XKL').slick({ 90 slidesToShow: 1, 91 slidesToScroll: 1, 92 dots: true, 93 arrows: false, 94 autoplay: true, 95 autoplaySpeed: 5000, 96 infinite: true 97}); 98 99$('#slider-shop-lot02_XKL').slick({ 100 slidesToShow: 1, 101 slidesToScroll: 1, 102 dots: true, 103 arrows: false, 104 autoplay: true, 105 autoplaySpeed: 5000, 106 infinite: true 107}); 108$('#slider-shop-lot01_STS').slick({ 109 slidesToShow: 1, 110 slidesToScroll: 1, 111 dots: true, 112 arrows: false, 113 autoplay: true, 114 autoplaySpeed: 5000, 115 infinite: true 116}); 117 118$('#slider-shop-lot02_STS').slick({ 119 slidesToShow: 1, 120 slidesToScroll: 1, 121 dots: true, 122 arrows: false, 123 autoplay: true, 124 autoplaySpeed: 5000, 125 infinite: true 126}); 127 128//$("#filterbtn01").click(function () { 129// $('.slider-s').slick('refresh'); 130//}); 131 132filterSelectionSL1("shoplot01_XKL") 133 134function filterSelectionSL1(c) { 135 var x, i; 136 x = document.getElementsByClassName("filterDiv-sl-1"); 137 if (c == "all") c = ""; 138 for (i = 0; i < x.length; i++) { 139 140 w3RemoveClass(x[i], "show"); 141 if (x[i].className.indexOf(c) > -1) w3AddClass(x[i], "show"); 142 } 143} 144 145filterSelectionDS1("desc") 146 147function filterSelectionDS1(c) { 148 var x, i; 149 x = document.getElementsByClassName("filterDiv-ds-1"); 150 if (c == "all") c = ""; 151 for (i = 0; i < x.length; i++) { 152 w3RemoveClass(x[i], "show"); 153 if (x[i].className.indexOf(c) > -1) w3AddClass(x[i], "show"); 154 } 155} 156 157 158function w3AddClass(element, name) { 159 var i, arr1, arr2; 160 arr1 = element.className.split(" "); 161 arr2 = name.split(" "); 162 for (i = 0; i < arr2.length; i++) { 163 if (arr1.indexOf(arr2[i]) == -1) { 164 element.className += " " + arr2[i]; 165 } 166 } 167} 168 169function w3RemoveClass(element, name) { 170 var i, arr1, arr2; 171 arr1 = element.className.split(" "); 172 arr2 = name.split(" "); 173 for (i = 0; i < arr2.length; i++) { 174 while (arr1.indexOf(arr2[i]) > -1) { 175 arr1.splice(arr1.indexOf(arr2[i]), 1); 176 } 177 } 178 element.className = arr1.join(" "); 179} 180 181$(document).ready(function () { 182 $('#fliter-ds-01 .ds01').click(function () { 183 $('#fliter-ds-01 .ds01').removeClass("active"); 184 $(this).addClass("active"); 185 });
186}); 187 188 189'use strict'; 190 191; 192(function ($, window, document, undefined) { 193 $('.inputfile').each(function () { 194 var $input = $(this), 195 $label = $input.next('label'), 196 labelVal = $label.html(); 197 198 $input.on('change', function (e) { 199 var fileName = ''; 200 201 if (this.files && this.files.length > 1) 202 fileName = (this.getAttribute('data-multiple-caption') || '').replace('{count}', this.files.length); 203 else if (e.target.value) 204 fileName = e.target.value.split('\\').pop(); 205 206 if (fileName) 207 $label.find('span.change').html(fileName); 208 else 209 $label.html(labelVal); 210 }); 211 212 // Firefox bug fix 213 $input 214 .on('focus', function () { 215 $input.addClass('has-focus'); 216 }) 217 .on('blur', function () { 218 $input.removeClass('has-focus'); 219 }); 220 }); 221 222})(jQuery, window, document); 223 224$('#file-1').bind('change', function () { 225 var filename = $("#file-1").val(); 226 if (/^\s*$/.test(filename)) { 227 $(".file-upload-1").removeClass('active'); 228 } else { 229 $(".file-upload-1").addClass('active'); 230 } 231 232}); 233 234$('input#file-1').bind('change', function () { 235 $(this).parents('.form-group').addClass('focused'); 236}); 237 238$(document).ready(function () { 239 $('#pers-info #edit').click(function () {
240 $('#pers-info input, #pers-info select').removeAttr('disabled'); 241 $("#pers-info #email").prop('disabled', true); 242 //$('#pers-info select').removeAttr('disabled'); 243 $('#pers-info #save').removeClass("d-none"); 244 $('#pers-info #edit').addClass("d-none"); 245 }); 246}); 247 248//$(document).ready(function () { 249// $('#pers-info #save').click(function () { 250// $('#pers-info input, #pers-info select').prop("disabled", true); 251// //$('#pers-info select').prop("disabled", true); 252// $('#pers-info #save').addClass("d-none"); 253// $('#pers-info #edit').removeClass("d-none"); 254// }); 255//}); 256 257$(document).ready(function () { 258 $('#change-pass #edit').click(function () { 259 $('#change-pass #save').removeClass("d-none"); 260 $('#change-pass #edit').addClass("d-none"); 261 $('#change-pass .form-ar#change').removeClass("d-none"); 262 $('#change-pass .form-ar#updated').addClass("d-none"); 263 }); 264}); 265 266//$(document).ready(function () { 267// $('#change-pass #save').click(function () { 268// $('#change-pass #save').addClass("d-none"); 269// $('#change-pass #edit').removeClass("d-none"); 270// $('#change-pass .form-ar#change').addClass("d-none"); 271// $('#change-pass .form-ar#updated').removeClass("d-none"); 272// }); 273//}); 274 275$(document).ready(function () { 276 $('#pay-meth #add').click(function () { 277 $('#pay-meth #save').removeClass("d-none"); 278 $('#pay-meth #add').addClass("d-none"); 279 $('#pay-meth .cardinfo#newcard').removeClass("d-none"); 280 }); 281}); 282 283$(document).ready(function () { 284 $('#pay-meth #save').click(function () { 285 //$('#pay-meth #save').addClass("d-none"); 286 //$('#pay-meth #add').removeClass("d-none"); 287 //$('#pay-meth .cardinfo#newcard').addClass("d-none"); 288 }); 289});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.