How to grab the mouse position in a browser with jQuery and HTML5

Depending on what your plans are it might become handy to know the mouse position.
The script below gives you the position relative to the page, relative to the browser window and relative to the DIV with the green color.

HTML (index.html)

CSS (style.css)

JavaScript (javascript.js)

Related links: