Forums

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

Home Forums CSS Make img alt visible Reply To: Make img alt visible

#239642
nicolafw
Participant

This finally worked:

</script><script language="javascript" type="text/javascript">
//<![CDATA[
$(document).ready(function(){
$('div a').each(function(){
var alt = $(this).children('img').attr('alt');
$(this).append('<div class="bildlegende">' + alt + '</div>');
});
});
//]]>
</script>

Thanks for all the help…