[Greasemonkey] Re: Finding Mouse Coordinates

Robert Kim Wireless Internet Advisor evdo.hsdpa at gmail.com
Fri Jan 27 20:11:14 EST 2006


good point brendan.



--

Bob Repeater Kim
2611 s Highway 101
Cardiff CA 92007
206 984 0880
http://evdo-coverage.com/cellular-repeater.html

On 1/24/06, Brendan Crosser-McGay <verifex at gmail.com> wrote:
> On this script: http://userscripts.org/scripts/show/1434
>
> In the script for making a transparent draggable window, I need the mouse
> event to be able to drag it around properly.  The only place I've found the
> mousex and mousey values seem to be inside that event.  My dilemma is, I
> want a link on the page that will reposition this draggable window element
> to the exact place where the mouse is, which is right at the link.
>
> The only half-usable solution I've managed to come up with, is one where on
> the click, it reinitializes the entire window at the mouse position, but it
> still requires the mouse to be moved before the element actually changes
> coordinates.
>
> Thanks,
> Brendan
>


--
Robert Q Kim, Wireless Internet Advisor
http://evdo-coverage.com/cell-repeater.html
http://hsdpa-coverage.com

2611 S. Pacific Coast Highway 101
Suite 102
Cardiff by the Sea, CA 92007
206 984 0880


More information about the Greasemonkey mailing list