Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87530

Re: Code for showing the 'Alt' description of each of my photo gallery images underneath the thumbnail

$
0
0

Hi Emily,

 

This is one one to do it using jQuery:

 

$.each($('.photogalleryItem'), function() {

    $(this).find('a').append($(this).find('img').attr('alt'));

});

 

So we iterate through each gallery item, finding the image alt value and appending it to that items anchor element.


Viewing all articles
Browse latest Browse all 87530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>