const scroller = document.querySelector(“#musicscrollid”); const output = document.querySelector(“#musicheaderid”); scroller.addEventListener(“scroll”, (event) => { output.textContent = scrollTop: ${scroller.scrollTop}; if (scroller.scroll >= 64) { output.addClass(“fondoazul”); } else { output.removeClass(“fondoazul”); } }); the output.text i see number but when i scroll 64px the addclass or removeclass is not working
Blog
I have a computer running Windows 10 Pro. It has two Wi-Fi adapters: Built-in Intel Dual Band Wireless-AC 3160 Linksys Compact Wireless-G USB Adapter (WUSB54GC, very old) Both adapters work fine by themselves. I connect to the internet using the built-in adapter. I want other devices to connect to the […]
I am having a problem with the checkout cart where I cannot get to the second step of the checkout process. When I click on the “Review and Payments” button nothing happens as shown in the pictures below. Page 1 Page 2 I also do not see a next button […]
Was looking to set default values for a few network connection configs like connection.permissions, etc, so that when a new connection is generated (at /etc/NetworkManager/system-connections), it’ll inherit said defaults. Looked at a handful of places for info… /etc/sysconfig/network/ seems irrelevant for NetworkManager and /etc/sysconfig/network/config particularly says ‘NetworkManager is not using […]
I am working on an odd issue that is occurring over the past few days with receiving undeliverable email errors. The error is 550 5.7.367 (“<email> is not authorized to relay messages through the server that reported this server”). The odd part is, this error is actually being shown when […]
I recently read here you can enable real time proection from using start windowsdefender://enablertp/. I want to Enable or Disable Tamper Proection from a batch script using the same concept. I have tried several things like start windowsdefender://enabletp/ and start windowsdefender://enablerttp/ to no evail. I see no actual documentation on […]
For my example, I have a base price of $23. The Standard price is 20% increase of that. Late price is 20% increase from standard pricing. My problem is I am getting 3 decimal places for some of the prices. In Cell E2, my price is correct at $34.78 but […]
I’ve been trying to install Magento(2-2.4) on MAMP Pro on my macbook downloaded the code and manual install and I’ve gotten close but I can’t figure out how to get past this screen: There was no version set in the composer.json file so I tried “version”: “2-2.4” and “version”: “2.2.4” […]
I have the Sign Static Files setting on in Magento settings. I have verified that deployed_versio.txt has a new version number after setting up static files with setup:static-content:deploy. However for some reason the mobile Android browser particularly does not load the new versions of the static files like CSS files. […]