Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Best approach for conditional loading (mobile-first) Re: Best approach for conditional loading (mobile-first)

#127467
Paulie_D
Member

I’m not exactly a JS expert (basically a n00b really) but is there a reason why the content could be already sitting as a separate HTML ‘slug’ sitting on your web server waiting to be injected when the browser hits a certain width?

HMTL markup isn’t in the JS, it’s a div id on a ‘separate pgae’ waiting to be injected….if that makes any sense.