Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsantell/jquery-twitch
jQuery plugin for making links dance anaglyph-style on hover
https://github.com/jsantell/jquery-twitch
Last synced: about 2 months ago
JSON representation
jQuery plugin for making links dance anaglyph-style on hover
- Host: GitHub
- URL: https://github.com/jsantell/jquery-twitch
- Owner: jsantell
- License: mit
- Created: 2012-07-08T20:41:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-04T04:25:03.000Z (over 12 years ago)
- Last Synced: 2024-10-16T05:44:38.766Z (3 months ago)
- Language: JavaScript
- Homepage: jsantell.github.com/jquery-twitch
- Size: 175 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jquery-twitch
jQuery plugin for making links dance anaglyph-style on hover
[View demo](http://jsantell.github.com/jquery-twitch)## Options
* `speed`: Refresh rate in ms
* `displacement`: Displacement in pixel units
* `color1`: One color of twitch effect -- can be any valid CSS color string
* `color2`: One color of twitch effect -- can be any valid CSS color string## Example
View `./example/index.html` in repo to see it in action or [jsantell.github.com/jquery-twitch](http://jsantell.github.com/jquery-twitch)
```javascript
$('a').twitch({
speed : 50,
displacement: 5,
color1 : '#ff0077',
color2 : '#aaee22'
});
```## Contributing
This project uses [smoosh](https://github.com/fat/smoosh) for compiling, linting.