24 ways: Conditional Loading for Responsive Designs

24 ways: Conditional Loading for Responsive Designs.

…But what happens when you apply your media queries for larger viewports and you dohave sidebars and multiple columns? Well, you can load in that nice-to-have content using the same kind of Ajax functionality that Paul described in his article last year. The difference is that you first run a quick test to see if the viewport is wide enough to accommodate the subsidiary content. This is conditional delayed loading….