This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@fancyapps/fancybox with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
See the project page for documentation and a demonstration.
Follow @thefancyapps for updates.
1. Add latest jQuery and fancyBox files
<script src="//code.jquery.com/jquery-3.2.1.min.js"></script> <link href="/path/to/jquery.fancybox.min.css" rel="stylesheet"> <script src="/path/to/jquery.fancybox.min.js"></script>
2. Create links
<a data-fancybox="gallery" href="big_1.jpg"> <img src="small_1.jpg"> </a> <a data-fancybox="gallery" href="big_2.jpg"> <img src="small_2.jpg"> </a>
fancyBox is licensed under the GPLv3 license for all open source applications. A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell).
If you find a bug, please report it here on Github.
Guidelines for bug reports:
A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report.
Feature requests are welcome. Please look for existing ones and use GitHub's "reactions" feature to vote.
Please do not use the issue tracker for personal support requests - use Stack Overflow (fancybox-3 tag) instead.