overview
In this little tutorial I’m going to show you how to create a small jQuery code where 2 eyes follow mouse movement. Its basically a fetches the mouse position on screen and calculates the css top and left attributes that are appropriate for the eyeball by keeping it inside the eye container, theres a little math involved so its gonna be fun
.
Demo
continue reading…
In this little tutorial I’m going to show you how to create a small jQuery code where 2 eyes follow mouse movement. Its basically a fetches the mouse position on screen and calculates the css top and left attributes that are appropriate for the eyeball by keeping it inside the eye container, theres a little math involved so its gonna be fun
Demo
continue reading…
