-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
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
Updated to support image captions #17
base: master
Are you sure you want to change the base?
Conversation
need to fix some bugs
fix some comments
animation for #caption-container
also trigger on the caption container;
Thanks for adding support image captions, and thanks to noXon68 for the bugfix. There still is one problem, regarding the use of more than one gallery (data-gallery) in same page, with different names (eg. data-gallery="3" and data-gallery="4"). It seems that the captions get mixed up, from the two different galleries. |
Thanks again, for fixing the support of multiple galleries and captions in one page. I found one more problem, the gallery doesn't work with IE any more. I don't know when this hapend, but i was just checking now. |
Did you see any errors in IE? And which version of IE? I'll take a look at it when I get a chance. Thanks, |
To add a caption, simply add a caption attribute within the anchor tag that points to the image. The caption will stick to the bottom of the image. It will works the same if no caption attributes are added.