The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript how can i access these classes Reply To: how can i access these classes


First thing I notice there is that the console reports an error where $().lazyload is not a function. I’d have to read up on the plugin to make sense of that. The lazyload script seems to be parsed before it gets called at the bottom of the page so the document not being ready doesn’t seem to be the issue here.

But from what I can see now, I would assume the data-src are used with either of these plugins. That would mean you’d have to attach them before that plugin gets initiated.