Responsive workshop: conditional loading

5ad82c5ba0264363974af89deb743c20?s=47 Jeremy Keith
April 11, 2013

Responsive workshop: conditional loading

5ad82c5ba0264363974af89deb743c20?s=128

Jeremy Keith

April 11, 2013
Tweet

Transcript

  1. <conditional loading>

  2. None
  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. if ($(document).width() > 640) { $.get('path/to/html', function(data) { $('[role="complementary"]').append(data); });

    }
  10. </conditional loading>