I’ve written out the following in an attempt to get it working, but it only works on a single image instead of all in the list.
var slideImgSrc = jQuery('ul.portfolio-slider li.panel img.alignnone').attr('src');
jQuery('ul.portfolio-slider li.panel img.alignnone').replaceWith('');
What do I need to do to get it working in the entire list instead of just the first?
Here’s a jsFiddle:
Here ya go!
var imageURL = $(this).attr('src');
Sweet, thanks Doc!
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".