(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
๐ FIRST DAY SALE: Grab Up to 63% Off Now!! ๐
Jan 14, 2025
by Journalsay
Hey there, journalers and craft lovers! ๐
Get ready to kickstart the year with our FIRST DAY SALE at Journalsay.com! Whether you’re restocking your craft supplies or starting fresh with new creative goals, this is the sale you’ve been waiting for. ๐
๐ Massive Discounts You Can’t Miss
Everything is 50% OFF!
๐ธ Bonus Savings Alert!
Use code FIRSTDAY6 at checkout for an extra 6% OFF on top of the 50% discount. Double the discounts, double the happiness! ๐
๐ Spend More, Save More
Spend $79 → Get $6 OFF
๐๏ธ Mark Your Calendars: ๐ January 20 – February 9(Los Angeles Time)
๐ Shop the FIRST DAY SALE Now ๐
Here’s to a year filled with creativity and happiness! ๐๏ธโจ