2 ms·
The code that does anything in mine is just $('*').filter(function() { var pos = $(this).css('position'); return ( pos === 'fixed' || pos ==
by tim333 9y ago
The code that does anything in mine is just
$('*').filter(function() {
var pos = $(this).css('position');
return ( pos === 'fixed' || pos === 'sticky')
} ).toggleClass("_zapfix");
where _zapfix is a class where things are hidden and $ is jquery.