This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('DOMContentLoaded', function() { | |
// Select all inputs and textareas within the form | |
const inputs = document.querySelectorAll('.elementor-form-fields-wrapper input[type="text"], .elementor-form-fields-wrapper input[type="email"], .elementor-form-fields-wrapper textarea'); | |
// Loop through each input | |
inputs.forEach(input => { | |
// Add an event listener for input change | |
input.addEventListener('input', function() { | |
if (input.value.trim() !== "") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: sdm230_modbus_reader | |
platform: ESP8266 | |
board: nodemcuv2 # For NodeMCU v3 | |
# Wi-Fi connection setup | |
wifi: | |
ssid: !secret wifi_ssid_iot | |
password: !secret wifi_password_iot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: esp-pwm-temp-controller | |
friendly_name: ESP-PWM-Temp-Controller | |
esp32: | |
board: esp32dev | |
framework: | |
type: arduino | |
# Enable logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Device type Router | |
//Zigbee Model - TS0601 | |
//Zigbee Manufacturer - _TZE204_lb0fsvba | |
const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); | |
const tz = require('zigbee-herdsman-converters/converters/toZigbee'); | |
const exposes = require('zigbee-herdsman-converters/lib/exposes'); | |
const tuya = require('zigbee-herdsman-converters/lib/tuya'); | |
const e = exposes.presets; | |
const ea = exposes.access; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("DOMContentLoaded", function() { | |
var startDateInput = document.getElementById("start_date"); | |
var endDateInput = document.getElementById("end_date"); | |
var startDateDisplayInput = document.getElementById("start_date_display"); | |
var endDateDisplayInput = document.getElementById("end_date_display"); | |
function setDateInputs(startDate, endDate) { | |
var startDateISO = startDate ? formatDateYMD(startDate) : ''; | |
var endDateISO = endDate ? formatDateYMD(endDate) : ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Dev500 - Patrick | |
* March 19, 2024 | |
* @functions.php | |
* @page /?s | |
* Adds teh metafield as additional search source for Wordpress Search / JetSmartFilter - Wordpress Search | |
*/ | |
// Modify the main WordPress query | |
function custom_search_filter($query) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.jet-form__field.select-field { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
background: url(data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%238C98F2'><polygon points='0,0 100,0 50,50'/></svg>) no-repeat; | |
background-size: 12px; | |
background-position: calc(100% - 20px) 18px; | |
background-repeat: no-repeat; | |
background-color: #fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function() { | |
// console.log('jQuery initialize') | |
jQuery.initialize('.elementor-message.elementor-message-success', function() { | |
//hide the section of the notification | |
jQuery('#grow-aba-lp-form').hide(); | |
//When changes happened, show the notification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
section.slide-extra-content{ | |
display: none; | |
position: absolute; | |
margin-left: 0; | |
margin-right: 0; | |
bottom: 0; | |
max-width: 92%; | |
} | |
@media screen and (max-width:1024px){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hide the topbutton on page load/ready. | |
jQuery('.scrolltop-btn').hide(); | |
//Check to see if the window is top if not then display button | |
jQuery(window).scroll(function(){ | |
if (jQuery(this).scrollTop() > 100) { | |
jQuery('.scrolltop-btn').show().fadeIn(); | |
} else { | |
jQuery('.scrolltop-btn').fadeOut().hide(); |
NewerOlder