Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.