Jon McLaren

Results 127 comments of Jon McLaren

that test is in the code above I'm not certain though if lazysizes is going to be the right fallback library(haven't used it, might be overkill). that's more on the...

lol, not an idiot. just skimmed the script is all lol.

I have a macro for generating srcsets, I'll incorporate that into the theme-macros.css file I also have a HubSpot CSS only blur up technique that I may incorporate in but...

Chad Pierce posted this as a polyfill solution ``` (function() { if ("loading" in HTMLImageElement.prototype) { var lazyEls = document.querySelectorAll("[loading=lazy]"); lazyEls.forEach(function(lazyEl) { lazyEl.setAttribute( "src", lazyEl.getAttribute("data-src") ); }); } else {...

Perhaps just implement as a class triggered by a click. Demo site can show a button but the button is just standard + maybe some aria stuff if necessary.

Everything in: /mobile_nav is related

I think it's safe to remove. Lets remove everything in /mobile_nav as well as that css in theme_base.css Whoever wants to hop on this go for it!

#72 addresses the theme_base.css changes but doesn't remove the /mobile_nav files so that's what's left on this issue.

lookin' good! Seriously