Support » Plugin: javascript-image-loader » [Plugin: javascript-image-loader] Load and ignore sidebar

  • I found this thread which shows that you need to add

    “$(function() {
    $( “#mainbody img” ).lazyload();

    In order to have it only focus on lazy loading for #mainbody. 2 questions – 1) Where does this code go? Could you provide a step by step? 2) Is there any way aside from blocking the sidebar, to have it lazy load images across the site from top to bottom regardless of where the sidebar is? OR – to create a specific class that this plugin ignores so that I can code certain areas and know that they will be ignored?

    I have my sidebar after my posts and so all the images are blank until you scroll down the page and then back up – which is a problem for the ads in the position.

    Thanks in advance for the help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: javascript-image-loader] Load and ignore sidebar’ is closed to new replies.