GianlucaGuarini / jQuery.BlackAndWhite

Clientside grayscale images on any browser
http://gianlucaguarini.github.io/jQuery.BlackAndWhite/
Other
310 stars 131 forks source link

Added a parameter for an alternative element for the hover events to be assigned to. #36

Closed Kravimir closed 10 years ago

Kravimir commented 10 years ago

Thanks for writing this great script.

I made some additions to it for the project in which I'm using it. I'd like to share them.

GianlucaGuarini commented 10 years ago

Thanks for your pull request, probably this feature has been useful in particular project but I will not include it by default into the plugin even because it could be easily managed outside of it with one line of code

 $('.bwWrapper').trigger('mouseenter'); // or mouseleave