find the position of the cursor where user have clicked and display one div where user have clicked.
- by Avinash
Hi all,
I want to determine the position of the cursor where user have clicked.
And display one div at bottom side of the page where user have clicked.
For example on stack over flow home page if some one click on the logo.
Then the div should be displayed at the bottom position of the logo.
Same way if i click on the bottom link then that div should be displayed at the bottom portion of the page.
I am using mootools as my JS framework. But any JavaScript code will be helpful for me.
Hope this is clear to all.
Thanks in advance
Avinash