
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
jquery-shinybox
Advanced tools
A touchable jQuery lightbox.
##What is Shinybox ?
shinybox is a jQuery "lightbox" plugin for desktop, mobile and tablet.
##Features
###Compatibility
Chrome, Safari, Firefox, Opera, IE8+, IOS4+, Android, windows phone.
##Usage
###Javascript
Include jquery and the shinybox script in your head tags or right before your body closing tag.
<script src="lib/jquery-1.9.0.js"></script>
<script src="source/jquery.shinybox.js"></script>
###CSS
Include the shinybox CSS style in your head tags.
<link rel="stylesheet" href="source/shinybox.css">
###HTML
Use a specific class for your links and use the title attribute as caption.
<a href="big/image.jpg" class="shinybox" title="My Caption">
###Fire the plugin
Bind the shinybox behaviour on every link with the "shinybox" class.
$(".shinybox").shinybox();
###Options
useCSS : true, // false will force the use of jQuery for animations
initialIndexOnArray: 0, // which image index to init when a array is passed
hideBarsDelay : 3000, // 0 to always show caption and action bar
videoMaxWidth : 1140, // videos max width
beforeOpen: function(){} , // called before opening
afterClose: function(){}, // called after closing
sort: function (a, b){} // sort elements before opening
####Credits Photos by Daniele Zedda Based on Swipebox
FAQs
Shinybox ================================
The npm package jquery-shinybox receives a total of 1,534 weekly downloads. As such, jquery-shinybox popularity was classified as popular.
We found that jquery-shinybox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 52 open source maintainers 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
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.