Home › Forums › JavaScript › how can i access these classes › Reply To: how can i access these classes
December 12, 2016 at 6:41 pm
#248936
Shikkediel
Participant
First off, the “inner” index indeed starts at zero.
But $(this)
is the jQuery object with the image in it, the image itself is this
. It will always be an object and can even be empty (but it won’t here or it wouldn’t loop). Because I can’t tell what the data-src
is for exactly (I’m not familiar to the plugin) and the demo isn’t fully functional, it’s hard to tell what’s going wrong.