17 October 2016 13:00
Lazy Loading Images? Don’t Rely On JavaScript! | Robin Osborne
by 1 otherGiven the potential limitations, let’s work on a solution that can handle all my concerns:
a. works without JavaScript (i.e., lazy loading is an enhancement)
b. vanilla js – no dependencies on jquery or angularjs
c. works with broken JavaScript (i.e., the browser supports JavaScript, but there’s a js error somewhere which causes your script to break; might not even be your fault!)
1
(1 marks)