Reply To: FancyBox Pro Captions, Revolution Slider
Your Account / Forums / Easy FancyBox Pro / FancyBox Pro Captions, Revolution Slider / Reply To: FancyBox Pro Captions, Revolution Slider
OK, it looks like it is working fine now. Let’s proceed to the more difficult step of making the Revolution Slider caption known to FancyBox so it can be used as a title.
This will be more difficult to figure out so please allow for a few (failing) attempts 🙂
Try adding this script snippet in a text widget:
<script type="text/javascript">
jQuery('div.slidelink a').each( function() {
var altText = jQuery(this).closest('li').find('div.Photography-Textblock').text();
jQuery(this).attr('alt', altText);
});
</script>
