Blog search

Tuesday 7 January 2014

LAZYBLOCK : CONDITIONALLY LOAD CONTENT IN RESPONSIVE DESIGNS WITH JAVASCRIPT



lazyBlock is a proof-of-concept to show how content can be conditionally loaded in responsive designs without relying on AJAX to fetch that content. Content is included in the original mark-up but is placed within <script> tags with the type text/html. Based on user action or screen width, the content can then be moved from the <script> tag and then injected into the DOM by lazyBlock.

0 Comments to “LAZYBLOCK : CONDITIONALLY LOAD CONTENT IN RESPONSIVE DESIGNS WITH JAVASCRIPT”

Post a Comment