I am seeking a solution to determine the exact position of the cursor where a user has clicked.
My goal is to display a div at the bottom side of the page wherever the user clicks.
For instance, on the Stack Overflow homepage, if someone clicks on the logo, the div should appear at the bottom position of the logo.
Similarly, if I click on a link at the bottom of the page, the div should be displayed at that same location.
While I am currently using mootools as my JS framework, any JavaScript code would be appreciated for this task.
I hope this explanation clarifies my query.
Thank you in advance,
Avinash