jQuery Image Animation Trick With Mouse Position

jQuery Image Animation Trick With Mouse Position

In this short tutorial post, I create a simple code in jquery to creating an animation look a like effect, that triggered by mouse cursor position. This trick can be used for animating photo profile, with changing the image source on html element or in this case I change the class value.

2 Replies to jQuery Image Animation Trick With Mouse Position

  1. 321zeno says:

    You should be using sprites

  2. AG says:

    This would be much better if you’ve used sprite instead of different images for each class.

Leave a Reply