Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Responsive jQuery modal window plugin
Just another responsive jQuery lightbox plugin, suitable for images, inline contents, iFrames, Google Maps, Vimeo and YouTube videos.
The big difference compared to many others plugins like this is that VenoBox calculates the max width of the image displayed and preserves its height if is taller than the window (so in small devices you can scroll down the content, avoiding vertical microscopic resized images).
Demo: https://veno.es/venobox/
This package can be installed with:
npm install venobox
bower install venobox
composer require nicolafranchini/venobox
yarn add venobox
Download the latest release or get the sources from CDNJS
Put the required stylesheet at the top of your markup:
<link rel="stylesheet" href="/venobox/venobox.min.css" />
Put the script at the bottom of your markup right after jQuery:
<script src="jquery.js"></script>
<script src="venobox/venobox.min.js"></script>
Insert one or more links with its custom class
<a class="venobox" href="image01-big.jpg"><img src="image01-small.jpg" alt="image alt"/></a>
Call the plugin function and your VenoBox is ready for all the selected links.
$(document).ready(function(){
$('.venobox').venobox();
});
The full documentation is available at http://veno.es/venobox/
License: released under the MIT License
FAQs
Responsive javascript modal window plugin, touch swipe gallery
The npm package venobox receives a total of 2,601 weekly downloads. As such, venobox popularity was classified as popular.
We found that venobox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.