parallax_content
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "parallax_content", | ||
"version": "1.0.0", | ||
"description": "<h2> <a id=\"user-content-slick\" class=\"anchor\" href=\"#slick\" aria-hidden=\"true\"> <svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"> <path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path> </svg> </a>parallaxContent </h2>", | ||
"main": "gulpfile.js", | ||
"version": "1.0.1", | ||
"description": "parallax content", | ||
"main": "index.js", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-uglifycss": "^1.0.6", | ||
"streamqueue": "^1.1.1", | ||
"babel-preset-es2015": "^6.24.0", | ||
"gulp-autoprefixer": "^3.1.0", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-concat": "^2.6.0", | ||
"gulp-import-css": "^0.1.2", | ||
"gulp-notify": "^2.2.0", | ||
"gulp-plumber": "^1.1.0", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-sass": "^2.3.2", | ||
"gulp-sourcemaps": "^1.6.0", | ||
"gulp-uglify": "^2.0.0", | ||
"gulp-util": "^3.0.7", | ||
"merge-stream": "^1.0.0" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/lemehovskiy/parallaxContent.git" | ||
}, | ||
"author": "lemehovskiy1", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/lemehovskiy/parallaxContent/issues" | ||
}, | ||
"homepage": "https://github.com/lemehovskiy/parallaxContent#readme" | ||
"keywords": [ | ||
"theme" | ||
], | ||
"author": "lemehovskiy", | ||
"license": "ISC" | ||
} |
120
README.md
@@ -1,97 +0,41 @@ | ||
<h2> | ||
<a id="user-content-slick" class="anchor" href="#slick" aria-hidden="true"> | ||
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" | ||
width="16"> | ||
<path fill-rule="evenodd" | ||
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path> | ||
</svg> | ||
</a>parallaxContent | ||
</h2> | ||
parallaxContent | ||
------- | ||
<h4><a id="user-content-demo" class="anchor" href="#demo" aria-hidden="true"> | ||
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"> | ||
<path fill-rule="evenodd" | ||
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path> | ||
</svg> | ||
</a>Demo | ||
</h4> | ||
### Demo | ||
<p><a href="https://lemehovskiy.github.io/parallaxContent/demo/">https://lemehovskiy.github.io/parallaxContent/demo/</a> | ||
</p> | ||
[https://lemehovskiy.github.io/parallaxContent/demo](https://lemehovskiy.github.io/parallaxContent/demo/) | ||
<h3><a id="user-content-data-attribute-settings" class="anchor" href="#data-attribute-settings" aria-hidden="true"> | ||
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"> | ||
<path fill-rule="evenodd" | ||
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path> | ||
</svg> | ||
</a>Data Attribute Settings | ||
</h3> | ||
<p>In parallaxContent you can now add settings using the data-parallax-content attribute. You still need to call | ||
$(element).parallaxContent() | ||
to initialize parallaxContent on the element. | ||
</p> | ||
### Data Attribute Settings | ||
<p>Example:</p> | ||
<div class="highlight highlight-text-html-basic"> | ||
<pre><<span class="pl-ent">div</span> <span | ||
class="pl-e">data-parallax-content</span>=<span | ||
class="pl-s"><span class="pl-pds">'</span>{"shift": 10, "duration": 4}<span | ||
class="pl-pds">'</span></span>> | ||
Lorem ipsum | ||
</<span class="pl-ent">div</span>> | ||
</pre> | ||
</div> | ||
In parallaxContent you can now add settings using the data-parallax-content attribute. You still need to call | ||
$(element).parallaxContent() | ||
to initialize parallaxContent on the element. | ||
<h3> | ||
<a id="user-content-settings" class="anchor" href="#settings" aria-hidden="true"> | ||
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"> | ||
<path fill-rule="evenodd" | ||
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path> | ||
</svg> | ||
</a> | ||
Settings | ||
</h3> | ||
<table> | ||
<tr> | ||
<th>Option</th> | ||
<th>Type</th> | ||
<th>Default</th> | ||
</tr> | ||
<tr> | ||
<td>shift</td> | ||
<td>int</td> | ||
<td>10</td> | ||
</tr> | ||
<tr> | ||
<td>duration</td> | ||
<td>int</td> | ||
<td>1.5</td> | ||
</tr> | ||
</table> | ||
Example: | ||
<h4> | ||
<a id="user-content-browser-support" class="anchor" href="#browser-support" aria-hidden="true"> | ||
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"> | ||
<path fill-rule="evenodd" | ||
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path> | ||
</svg> | ||
</a> | ||
Browser support | ||
</h4> | ||
<ul> | ||
<li>Chrome</li> | ||
<li>Firefox</li> | ||
<li>Opera</li> | ||
<li>IE10/11</li> | ||
</ul> | ||
<h4><a id="user-content-dependencies" class="anchor" href="#dependencies" aria-hidden="true"> | ||
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"> | ||
<path fill-rule="evenodd" | ||
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path> | ||
</svg> | ||
</a>Dependencies | ||
</h4> | ||
<p>jQuery 1.7</p> | ||
```html | ||
<div data-parallax-conten='{"shift": 10, "duration": 4}'></div> | ||
``` | ||
### Settings | ||
Option | Type | Default | ||
--- | --- | --- | ||
shift | int | 10 | ||
duration | int | 1.5 | ||
### Browser support | ||
* Chrome | ||
* Firefox | ||
* Opera | ||
* IE10/11 | ||
### Dependencies | ||
* jQuery 1.7 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
862568
16
1
3
42
1