Survey

_polldaddy.push( { type: ‘iframe’, auto: ‘1’, domain: ‘queensha13nugroho.survey.fm’, id: ‘untitled-survey-839d’, single_mode: ‘undefined’, placeholder: ‘pd_1794925980072′ } ); (function(d,c,j){if(!document.getElementById(j)){var pd=d.createElement(c),s;pd.id=j;pd.src=’https://app.crowdsignal.com/survey.js’;s=document.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd,s);}}(document,’script’,’pd-embed’)); function cekKelelahan(nilaiJawaban) { const skor = Number(nilaiJawaban); // Cegah hasil muncul jika jawaban kosong atau tidak valid. if (!Number.isInteger(skor) || skor <…Continue reading

Light and Dark Timer

document.addEventListener(“DOMContentLoaded”, function() { // 1. Hide ALL the holiday switches first document.querySelectorAll(‘.pj-icon-toggle’).forEach(el => el.style.display = ‘none’); // 2. Figure out today’s Month and Day const today = new Date(); const month = today.getMonth() + 1; // January is 1, October…Continue reading

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

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

Open external links in new tab

document.addEventListener(“DOMContentLoaded”, function() { var links = document.querySelectorAll(“a[href]”); links.forEach(function(link) { if (link.hostname !== window.location.hostname) { link.setAttribute(“target”, “_blank”); link.setAttribute(“rel”, “noopener noreferrer”); } }); });Continue reading

Jostar Kitchen Reno Budget Calculator

(function(){ /* ===== Gravity Forms settings: replace the numbers with your form and field IDs ===== */ var JKR_GF={ formId: 0, /* e.g. 7 */ fields:{ /* Hidden field IDs from the form editor */ home:0, scope:0, budget:0, contingency:0, total:0,…Continue reading

Jostar Kitchen Reno Budget Calculator

(function(){ /* ===== Gravity Forms settings: replace the numbers with your form and field IDs ===== */ var JKR_GF={ formId: 0, /* e.g. 7 */ fields:{ /* Hidden field IDs from the form editor */ home:0, scope:0, budget:0, contingency:0, total:0,…Continue reading