4 ms·
This is useful. If you change the line: elements[i].parentNode.removeChild(elements[i]); to: elements[i].style.position='absolute'; it will unstick the
by perilunar 5y ago
This is useful.
If you change the line:
elements[i].parentNode.removeChild(elements[i]);
to:
elements[i].style.position='absolute';
it will unstick the header without deleting it.