find the position of the cursor where user have clicked and display one div where user have clicked.
Posted
by Avinash
on Stack Overflow
See other posts from Stack Overflow
or by Avinash
Published on 2010-03-30T10:13:36Z
Indexed on
2010/03/30
10:23 UTC
Read the original article
Hit count: 524
JavaScript
|mootools1.2
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
© Stack Overflow or respective owner