Clothing & Shoes - Shoes - Boots (2024)

'; $(el).html(flashTpl); //Timer Config var timerCfg = { 'ticker_font_size': '10vw', 'inventory_text_font_size': '3vw', 'ticker_font_family': '"Poppins"', 'order_soon_font_size': '3vw', 'ticker_end_time': 'June 8, 2024 09:00:00', //in hours -- hh:mm 'ticker_color_change_time': '1:30', 'ticker_color': '#FFFFFF', 'ticker_color_updated': '#FFFFFF', 'inventory_text_color': '#FFFFFF', 'inventory_text_color_updated': '#FFFFFF', 'order_soon_color': "#FFFFFF", 'order_soon_color_updated': "#FFFFFF", 'inventory_text_default': '\xa0Order while quantities last!', 'inventory_text_updated': '\xa0Order while quantities last!', 'order_soon_text_default': '', 'order_soon_text_updated': '' } function correct2Positions(num) { num = num.toString(); if (num.length < 2) { return ("0" + num); } else { return num; } } initTimer(); function initTimer() { // Timer start // Set the date we're counting down to var countDownDate = new Date(timerCfg.ticker_end_time).getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get todays date and time var now = new Date().getTime(); // Find the distance between now an the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" //document.getElementById("timer-placement").innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s "; document.getElementById("adb-timer").innerHTML = "" + correct2Positions(hours) + ":" + correct2Positions(minutes) + " : " + correct2Positions(seconds) + ""; // If the count down is over, write some text if (distance < 0) { clearInterval(x); document.getElementById("adb-flash-sale").innerHTML = ""; } //Convert hours to timestamp and check if Time 2 had come var timeParts = timerCfg.ticker_color_change_time.split(":"); var time2InTimeStamp = (timeParts[0] * 60 * 60 * 1000) + (timeParts[1] * 60 * 1000); var time2TimerExpiry = new Date(timerCfg.ticker_end_time).getTime() - new Date().getTime(); var isColorChanged = time2TimerExpiry < time2InTimeStamp; //console.log(time2InTimeStamp,time2TimerExpiry, isColorChanged); //Set Inventory text if (isColorChanged) { if (timerCfg.inventory_text_color_updated != '' && timerCfg.order_soon_color_updated != '') { $("#adobe-fs .timer-text .in-stock").css('color', timerCfg.inventory_text_color_updated); $("#adobe-fs .timer-text .in-stock").text('\xa0' + timerCfg.inventory_text_updated); $("#adobe-fs .timer-text .order-soon").text('\xa0' + timerCfg.order_soon_text_updated); $("#adobe-fs .timer-text .order-soon").css('color', timerCfg.order_soon_color_updated); if (timerCfg.order_soon_text_updated != '' && timerCfg.order_soon_color_updated) { $("#adobe-fs .timer-text .timer-dash").html("-"); } } //Set Timer color $("#adobe-fs #adb-timer").css("color", timerCfg.ticker_color_updated); } else { if (timerCfg.inventory_text_color != '' && timerCfg.order_soon_color != '') { $("#adobe-fs .timer-text .in-stock").css('color', timerCfg.inventory_text_color); //Set Inventory text $("#adobe-fs .timer-text .in-stock").text('\xa0' + timerCfg.inventory_text_default); //Set Order soon text $("#adobe-fs .timer-text .order-soon").text('\xa0' + timerCfg.order_soon_text_default); //Set Order soon text color $("#adobe-fs .timer-text .order-soon").css('color', timerCfg.order_soon_color); if (timerCfg.inventory_text_default != '' && timerCfg.order_soon_text_default != '') { $("#adobe-fs .timer-text .timer-dash").html("-"); } } //Set Timer color $("#adobe-fs #adb-timer").css("color", timerCfg.ticker_color); } }, 1000); //Timer End } //Set Timer font family $("#adobe-fs #adb-timer").css("font-family", timerCfg.ticker_font_family); //Set Timer font size $("#adobe-fs #adb-timer").css("font-size", timerCfg.ticker_font_size); //Set Inventory text font size $("#adobe-fs .timer-text .in-stock").css('font-size', timerCfg.inventory_text_font_size); //Set 'Order soon' font size $("#adobe-fs .timer-text .order-soon").css('font-size', timerCfg.order_soon_font_size); } else if (window.innerWidth <= 992 && window.innerWidth >= 767) { (function() { function updateDom(el) { var flashTpl = '

Clothing & Shoes - Shoes - Boots (1)

'; el.html(flashTpl); //Timer Config var timerCfg = { 'ticker_font_size': '4.6vw', 'inventory_text_font_size': '1.5vw', 'ticker_font_family': '"Poppins"', 'order_soon_font_size': '1.5vw', 'ticker_end_time': 'June 8, 2024 09:00:00', //in hours -- hh:mm 'ticker_color_change_time': '0:50', 'ticker_color': '#FFFFFF', 'ticker_color_updated': '#FFFFFF', 'inventory_text_color': '#FFFFFF', 'inventory_text_color_updated': '#FFFFFF', 'order_soon_color': "#FFFFFF", 'order_soon_color_updated': "#FFFFFF", 'inventory_text_default': 'Order while quantities last!', 'inventory_text_updated': 'Order while quantities last!', 'order_soon_text_default': '', 'order_soon_text_updated': '' } function correct2Positions(num) { num = num.toString(); if (num.length < 2) { return ("0" + num); } else { return num; } } initTimer(); function initTimer() { // Timer start // Set the date we're counting down to var countDownDate = new Date(timerCfg.ticker_end_time).getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get todays date and time var now = new Date().getTime(); // Find the distance between now an the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" //document.getElementById("timer-placement").innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s "; document.getElementById("adb-timer").innerHTML = "" + correct2Positions(hours) + " : " + correct2Positions(minutes) + " : " + correct2Positions(seconds) + ""; // If the count down is over, write some text if (distance < 0) { clearInterval(x); document.getElementById("adb-flash-sale").innerHTML = ""; } //Convert hours to timestamp and check if Time 2 had come var timeParts = timerCfg.ticker_color_change_time.split(":"); var time2InTimeStamp = (timeParts[0] * 60 * 60 * 1000) + (timeParts[1] * 60 * 1000); var time2TimerExpiry = new Date(timerCfg.ticker_end_time).getTime() - new Date().getTime(); var isColorChanged = time2TimerExpiry < time2InTimeStamp; //console.log(time2InTimeStamp,time2TimerExpiry, isColorChanged); //Set Inventory text if (isColorChanged) { if (timerCfg.inventory_text_color_updated != '' && timerCfg.order_soon_color_updated != '') { $("#adobe-fs .timer-text .in-stock").css('color', timerCfg.inventory_text_color_updated); $("#adobe-fs .timer-text .in-stock").text(timerCfg.inventory_text_updated); $("#adobe-fs .timer-text .order-soon").text(timerCfg.order_soon_text_updated); $("#adobe-fs .timer-text .order-soon").css('color', timerCfg.order_soon_color_updated); if (timerCfg.order_soon_text_updated != '' && timerCfg.order_soon_color_updated) { $("#adobe-fs .timer-text .timer-dash").html("-"); } } //Set Timer color $("#adobe-fs #adb-timer").css("color", timerCfg.ticker_color_updated); } else { if (timerCfg.inventory_text_color != '' && timerCfg.order_soon_color != '') { $("#adobe-fs .timer-text .in-stock").css('color', timerCfg.inventory_text_color); //Set Inventory text $("#adobe-fs .timer-text .in-stock").text(timerCfg.inventory_text_default); //Set Order soon text $("#adobe-fs .timer-text .order-soon").text(timerCfg.order_soon_text_default); //Set Order soon text color $("#adobe-fs .timer-text .order-soon").css('color', timerCfg.order_soon_color); if (timerCfg.inventory_text_default != '' && timerCfg.order_soon_text_default != '') { $("#adobe-fs .timer-text .timer-dash").html("-"); } } //Set Timer color $("#adobe-fs #adb-timer").css("color", timerCfg.ticker_color); } }, 1000); //Timer End } //Set Timer font family $("#adobe-fs #adb-timer").css("font-family", timerCfg.ticker_font_family); //Set Timer font size $("#adobe-fs #adb-timer").css("font-size", timerCfg.ticker_font_size); //Set Inventory text font size $("#adobe-fs .timer-text .in-stock").css('font-size', timerCfg.inventory_text_font_size); //Set 'Order soon' font size $("#adobe-fs .timer-text .order-soon").css('font-size', timerCfg.order_soon_font_size); } var cntr = 10000; function init() { if (typeof(jQuery) != 'undefined' && jQuery("#adobe-fs").length > 0) { updateDom(jQuery("#adobe-fs")); } else if (cntr > 0) { cntr = cntr - 200; setTimeout(init, 200); } else { console.log('time out'); } } init(); })(); } else { (function() { function updateDom(el) { var flashTpl = '

Clothing & Shoes - Shoes - Boots (2)

'; el.html(flashTpl); //Timer Config var timerCfg = { 'ticker_font_size': '4.0em', 'inventory_text_font_size': '1.3em', 'ticker_font_family': '"Poppins"', 'order_soon_font_size': '1.3em', 'ticker_end_time': 'June 8, 2024 09:00:00', //in hours -- hh:mm 'ticker_color_change_time': '0:50', 'ticker_color': '#FFFFFF', 'ticker_color_updated': '#FFFFFF', 'inventory_text_color': '#FFFFFF', 'inventory_text_color_updated': '#FFFFFF', 'order_soon_color': "#FFFFFF", 'order_soon_color_updated': "#FFFFFF", 'inventory_text_default': 'Order while quantities last!', 'inventory_text_updated': 'Order while quantities last!', 'order_soon_text_default': '', 'order_soon_text_updated': '' } function correct2Positions(num) { num = num.toString(); if (num.length < 2) { return ("0" + num); } else { return num; } } initTimer(); function initTimer() { // Timer start // Set the date we're counting down to var countDownDate = new Date(timerCfg.ticker_end_time).getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get todays date and time var now = new Date().getTime(); // Find the distance between now an the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" //document.getElementById("timer-placement").innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s "; document.getElementById("adb-timer").innerHTML = "" + correct2Positions(hours) + " : " + correct2Positions(minutes) + " : " + correct2Positions(seconds) + ""; // If the count down is over, write some text if (distance < 0) { clearInterval(x); document.getElementById("adb-flash-sale").innerHTML = ""; } //Convert hours to timestamp and check if Time 2 had come var timeParts = timerCfg.ticker_color_change_time.split(":"); var time2InTimeStamp = (timeParts[0] * 60 * 60 * 1000) + (timeParts[1] * 60 * 1000); var time2TimerExpiry = new Date(timerCfg.ticker_end_time).getTime() - new Date().getTime(); var isColorChanged = time2TimerExpiry < time2InTimeStamp; //console.log(time2InTimeStamp,time2TimerExpiry, isColorChanged); //Set Inventory text if (isColorChanged) { if (timerCfg.inventory_text_color_updated != '' && timerCfg.order_soon_color_updated != '') { $("#adobe-fs .timer-text .in-stock").css('color', timerCfg.inventory_text_color_updated); $("#adobe-fs .timer-text .in-stock").text(timerCfg.inventory_text_updated); $("#adobe-fs .timer-text .order-soon").text(timerCfg.order_soon_text_updated); $("#adobe-fs .timer-text .order-soon").css('color', timerCfg.order_soon_color_updated); if (timerCfg.order_soon_text_updated != '' && timerCfg.order_soon_color_updated) { $("#adobe-fs .timer-text .timer-dash").html("-"); } } //Set Timer color $("#adobe-fs #adb-timer").css("color", timerCfg.ticker_color_updated); } else { if (timerCfg.inventory_text_color != '' && timerCfg.order_soon_color != '') { $("#adobe-fs .timer-text .in-stock").css('color', timerCfg.inventory_text_color); //Set Inventory text $("#adobe-fs .timer-text .in-stock").text(timerCfg.inventory_text_default); //Set Order soon text $("#adobe-fs .timer-text .order-soon").text(timerCfg.order_soon_text_default); //Set Order soon text color $("#adobe-fs .timer-text .order-soon").css('color', timerCfg.order_soon_color); if (timerCfg.inventory_text_default != '' && timerCfg.order_soon_text_default != '') { $("#adobe-fs .timer-text .timer-dash").html("-"); } } //Set Timer color $("#adobe-fs #adb-timer").css("color", timerCfg.ticker_color); } }, 1000); //Timer End } //Set Timer font family $("#adobe-fs #adb-timer").css("font-family", timerCfg.ticker_font_family); //Set Timer font size $("#adobe-fs #adb-timer").css("font-size", timerCfg.ticker_font_size); //Set Inventory text font size $("#adobe-fs .timer-text .in-stock").css('font-size', timerCfg.inventory_text_font_size); //Set 'Order soon' font size $("#adobe-fs .timer-text .order-soon").css('font-size', timerCfg.order_soon_font_size); } var cntr = 10000; function init() { if (typeof(jQuery) != 'undefined' && jQuery("#adobe-fs").length > 0) { updateDom(jQuery("#adobe-fs")); } else if (cntr > 0) { cntr = cntr - 200; setTimeout(init, 200); } else { console.log('time out'); } } init(); })(); } }, 500); } }); })();

Clothing & Shoes - Shoes - Boots (2024)
Top Articles
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 5828

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.