Active
Project:
Lazy image loader
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2010 at 18:11 UTC
Updated:
12 Apr 2011 at 16:21 UTC
I put the JS (print $scripts;) into the bottom of my page (as opposed to putting it into the head of the page, cp. YSlow and this article). Now I was wondering if this module (or the JQuery Lazy Loading plugin) actually can work with JS in the bottom of the page? As far as I understand HTTP, and since the HTML code still consists of IMG-tags (as opposed to placeholders), the browser would start loading all the images first because the JS is in the bottom of the page, i.e. the JQuery/JS code cannot replace the IMG-elements with placeholders before.
Comments
Comment #1
sinasalek commentedIt should work, try the new version it uses Drupal js behavior now