gtag im header – neu/vanilla

(function () { ‘use strict’; function push(obj) { window.dataLayer = window.dataLayer || []; window.dataLayer.push(obj); } function stripUrl(href) { return (href || ”).replace(/^(https?:\/\/)?(www\.)?/, ”); } function currentTabAnchor(el) { var tabs = el.closest(‘.su-tabs’); var cur = tabs && tabs.querySelector(‘.su-tabs-current’); return cur &&…Continue reading

Untitled Snippet

NOOB STORE NOOB STORE Best Products at Best Prices Home Products Contact Welcome To Our Store Shop Your Favourite Products Online! Our Products Headphones Rs. 1500 Order Now Smart Watch Rs. 2500 Order Now Shoes Rs. 3000 Order Now Mobile…Continue reading

Square Donate Button Override

/* All square donate button locations — shared base styles */ .square-donate-btn .zeffy-donate-btn { background: #32841E !important; color: #fff !important; border: 1px solid #32841E !important; padding: 8px !important; border-radius: 0 !important; font-family: “Work Sans”, sans-serif !important; font-size: 1rem !important; font-weight:…Continue reading

Script Header

document.addEventListener(‘DOMContentLoaded’, function() { const firstHeader = document.querySelector(‘.first-header’); const secondHeader = document.querySelector(‘.second-header’); if (!firstHeader || !secondHeader) return; // Check if mobile const isMobile = window.innerWidth SCROLL_THRESHOLD && !isSecondHeaderVisible) { isSecondHeaderVisible = true; // First header slides up and fades firstHeader.style.transition =…Continue reading

Header CSS

.first-header { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease; position: relative; z-index: 10; } .second-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform 0.6s cubic-bezier(0.4, 0,…Continue reading