We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there I add
$('.jcarousel').on('jcarousel:visiblein', 'li', function(event, carousel) { var caption = $(this).find("img").prop("alt"); $('.jcarousel-caption').text(caption);
in the jcarousel.basic.js to show alt text like an image caption
I also add
in the carousel html file
<h3 class="jcarousel-caption"></h3>
It's working, but jcarosel doesn't shows the first image caption after the page loading.
jcarousel shows the first image caption only after click the jcarousel-control-prev and jcarousel-control-next
There's anyone can help me to understand why?
Thanks in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there I add
in the jcarousel.basic.js to show alt text like an image caption
I also add
in the carousel html file
<h3 class="jcarousel-caption"></h3>
It's working, but jcarosel doesn't shows the first image caption after the page loading.
jcarousel shows the first image caption only after click the jcarousel-control-prev and jcarousel-control-next
There's anyone can help me to understand why?
Thanks in advance
The text was updated successfully, but these errors were encountered: