New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zebra_accordion

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zebra_accordion - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

3

CHANGELOG.md

@@ -1,2 +0,2 @@

## version 1.2.5 (May 28, 2017)
## version 1.2.6 (May 30, 2017)

@@ -16,3 +16,2 @@ - performance improvements and source code tweaks

- added 2 new events - onBeforeClose and onBeforeOpen; thanks to **paul** for suggesting this a while ago

@@ -19,0 +18,0 @@ - minor updates to keep [JSHint](jshint.com) happy

@@ -15,3 +15,3 @@ {

"license": "LGPL-3.0",
"version": "1.2.5",
"version": "1.2.6",
"keywords": [

@@ -18,0 +18,0 @@ "jquery-plugin",

@@ -47,3 +47,3 @@ <img src="https://raw.githubusercontent.com/stefangabos/zebrajs/master/docs/images/logo.png" alt="zebrajs" align="right">

First, load the latest version of jQuery from a CDN and provide a fallback to a local source, like:
First, load jQuery from a CDN and provide a fallback to a local source like:

@@ -62,18 +62,63 @@ ```html

Alternatively, you can load Zebra_Accordion from [JSDelivr CDN](https://www.jsdelivr.com/) like this:
```javascript
// for the most recent version
```html
<!-- for the most recent version -->
<script src="https://cdn.jsdelivr.net/gh/stefangabos/Zebra_Accordion/dist/zebra_accordion.min.js"></script>
// for a specific version
<!-- for a specific version -->
<script src="https://cdn.jsdelivr.net/gh/stefangabos/Zebra_Accordion@1.2.5/dist/zebra_accordion.min.js"></script>
// replacing "min" with "src" will serve you the non-compressed version
<!-- replacing "min" with "src" will serve you the non-compressed version -->
```
Load the style sheet file
Load the style sheet file from a local source
```html
<link rel="stylesheet" href="path/to/zebra_accordion.min.css" type="text/css">
<link rel="stylesheet" href="path/to/zebra_accordion.min.css">
```
...or from [JSDelivr CDN](https://www.jsdelivr.com/)
```html
<!-- for the most recent version -->
<link rel="stylesheet" href=="https://cdn.jsdelivr.net/gh/stefangabos/Zebra_Accordion/dist/zebra_accordion.min.css">
<!-- for a specific version -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/stefangabos/Zebra_Accordion@1.2.5/dist/zebra_accordion.min.css">
<!-- replacing "min" with "src" will serve you the non-compressed version -->
```
You need a basic definition list for your HTML markup
> Don't forget to add the `Zebra_Accordion` class to the list container! If you haven't had a look, all it does is to set `display:hidden` the all the tabs and add `cursor:pointer` to titles, so it will not add too much to your CSS.
```html
<dl class="Zebra_Accordion">
<dt>Lorem ipsum dolor sit amet consectetuer</dt>
<dd>
Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.
Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.
Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.
</dd>
<dt>Lorem ipsum dolor sit amet consectetuer</dt>
<dd>
Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.
Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.
Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.
</dd>
<dt>Lorem ipsum dolor sit amet consectetuer</dt>
<dd>
Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.
Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.
Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.
</dd>
<dt>Lorem ipsum dolor sit amet consectetuer</dt>
<dd>
Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.
Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.
Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.
</dd>
</dl>
```
Now, within the DOM-ready event do

@@ -83,5 +128,3 @@

$(document).ready(function() {
new $.Zebra_Accordion($('.Zebra_Accordion'));
});

@@ -88,0 +131,0 @@ ```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc