Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
zebra_dialog
Advanced tools
A small, compact and highly configurable dialog box plugin for jQuery meant to replace JavaScript's native alert and confirmation windows
##Zebra_Dialog
####A small, compact, and highly configurable jQuery plugin for creating modal dialog boxes####
Zebra_Dialog is a small, compact, and highly configurable jQuery plugin for creating modal dialog boxes, meant to replace native Java Script “alert” and “confirmation” dialog boxes
Can also be used as a notification widget - when configured to show no buttons and to close automatically - for updates or errors, without distracting users from their browser experience by displaying obtrusive alerts.
##Features
##Requirements
Zebra_Dialog has no dependencies other than jQuery 1.4.1+
##How to use
Zebra_Dialog is available as a Bower package. To install it use:
bower install zebra_dialog
Zebra_Dialog is also available as a npm package. To install it use:
npm install zebra_dialog
Load the latest version of jQuery from a CDN and provide a fallback to a local source, like:
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script>window.jQuery || document.write('<script src="path/to/jquery-1.12.0.js"><\/script>')</script>
Load the Zebra_Dialog plugin
<script type="text/javascript" src="path/to/zebra_dialog.js"></script>
Load one of the plugin’s themes
<link rel="stylesheet" href="path/to/themes/default/zebra_dialog.css" type="text/css">
Now, within the DOM-ready event do
$(document).ready(function() {
// show a dialog box when clicking on a link
$(anchor).bind('click', function(e) {
e.preventDefault();
$.Zebra_Dialog('The link was clicked!');
});
});
Configuration options and demos on the project's homepage
FAQs
A small, compact, and highly configurable jQuery plugin for creating beautiful modal dialog boxes
The npm package zebra_dialog receives a total of 327 weekly downloads. As such, zebra_dialog popularity was classified as not popular.
We found that zebra_dialog 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.