Socket
Socket
Sign inDemoInstall

zebra_pin

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

examples/README.md

2

CHANGELOG.md

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

## version 1.1.1 (May 26, 2017)
## version 1.1.2 (May 30, 2017)

@@ -3,0 +3,0 @@ - fixed a bug with contained pins where things were not working as expected if the container element would have a position other than "static"

@@ -23,7 +23,7 @@ /**

* Works in all major browsers (Firefox, Opera, Safari, Chrome, Internet Explorer 7+)
* *
*
* Read more {@link https://github.com/stefangabos/Zebra_Tooltips/ here}
*
* @author Stefan Gabos <contact@stefangabos.ro>
* @version 1.1.1 (last revision: May 26, 2017)
* @version 1.1.2 (last revision: May 30, 2017)
* @copyright (c) 2013 - 2017 Stefan Gabos

@@ -44,3 +44,3 @@ * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU LESSER GENERAL PUBLIC LICENSE

// specifies whether the pinned element should be restrained to its parent element's boundaries or not.
// specifies whether the pinned element should be restricted to its parent element's boundaries or not.
//

@@ -47,0 +47,0 @@ // default is FALSE

{
"name": "zebra_pin",
"version": "1.1.1",
"main": "public/javascript/zebra_pin.js",
"version": "1.1.2",
"main": "dist/zebra_pin.min.js",
"homepage": "https://github.com/stefangabos/Zebra_Pin",

@@ -6,0 +6,0 @@ "author": {

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

## Support the development of this project
[![Donate](https://img.shields.io/badge/Be%20kind%20%7C%20Donate%20$3%20with%20-%20PayPal%20-brightgreen.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K8HEUNMPV65R4)
## Features

@@ -28,3 +32,3 @@

- custom events are fired when pinning/unpinning elements for more control
- it is really small – it weights 2KB minified (~1.2KB gzipped) offering a very good ratio of features per used bytes
- it is really small – it weights 2KB minified (~800 bytes gzipped) offering a very good ratio of features per used bytes
- it's cross-browser – works in every major browser and IE7+

@@ -34,3 +38,3 @@

Zebra_Pin has no dependencies other than jQuery 1.4.2+
Zebra_Pin has no dependencies other than jQuery 1.7+

@@ -66,2 +70,13 @@ ## Installation

Alternatively, you can load Zebra_Pin from [JSDelivr CDN](https://www.jsdelivr.com/) like this:
```javascript
// for the most recent version
<script src="https://cdn.jsdelivr.net/gh/stefangabos/Zebra_Pin/dist/zebra_pin.min.js"></script>
// for a specific version
<script src="https://cdn.jsdelivr.net/gh/stefangabos/Zebra_Pin@1.1.1/dist/zebra_pin.min.js"></script>
// replacing "min" with "src" will serve you the non-compressed version
```
Now, within the DOM-ready event, pin elements to page or to a container:

@@ -83,3 +98,3 @@

// if you want the element to be restrained to the height of the container
// if you want the element to be restricted to the height of the container
// element, simply set the value of the "container" property to TRUE

@@ -126,3 +141,3 @@ // (make sure the container element has its "position" set to "relative" or

<td valign="top">
Specifies whether the pinned element should be restrained to its parent element's boundaries or not.<br><br>
Specifies whether the pinned element should be restricted to its parent element's boundaries or not.<br><br>
<blockquote>The container element <strong>must</strong> have the <code>position</code> CSS property set to

@@ -129,0 +144,0 @@ something other than <strong>static</strong></blockquote>

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc