(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();
})();
Radical Edward's Cosplay Profile
Aug 17, 2022
by TsangShireen
Radical Edward aka Edward Wong Hau Pepelu Tivrusky 4th
Profile
4 Completed
1 In Progress
my quote
"We're searching for a place... a place where we can live peaceful days, with no wars nor stealing... a sacred place where people can live as people. Yes, there. That place is called... Paradise." -Vash T.S.
instant messenger
Aim: RedDeath1888
cosplaying since
2003
favorite things
My first anime was Cowboy Bebop and that basically got the ball rolling. Now i also like Trigun, InuYasha, Ranma, and Hellsing. I'm trying to find out more info about Great Teacher Onizuka though, another show i would like to see. ^_^