شنا سوئدی و دیسک کمر
`;
let doc = document.querySelector(".myBox");
doc.innerHTML = html;
};
const close = e => {
tempClose();
hide();
showSticky();
};
const tempClose = () => {
db().save("instagram-vitamin_che-temp", new Date().getTime());
};
const check = () => {
let scrollTop =
window.pageYOffset !== undefined
? window.pageYOffset
: (
document.documentElement ||
document.body.parentNode ||
document.body
).scrollTop;
let body = document.body,
html = document.documentElement;
let w_height = window.innerHeight;
let d_height = Math.max(
body.scrollHeight,
body.offsetHeight,
html.clientHeight,
html.scrollHeight,
html.offsetHeight
);
let height = d_height - w_height;
let scrollTrigger = (height / 100) * 40;
if (scrollTop >= scrollTrigger) {
unregister();
show();
}
};
function delegate(el, evt, sel, handler)...
تاریخ 10 آذر 1399