I need to figure this out too. If you figure it out off the list will you post
the solution?

I have a link in my page that creates a new layer, and I want that layer to be
positioned near the link. So i figured if i got the X/Y of the mouse when it was
clicked i could properly position the new layer.

Steve Nelson

Scott Vitale wrote:

> I've figured out my event listeners/encapsulation confusion.  The tutorial I
> was following used: self.dynlayer(blah, blah blah)
>
> It needs to be: self.dynlayer = new DynLayer(blah, blah blah)
>
> Anyway......
>
> Now I'm trying to retrieve the mouse position and store it in a global
> variable.  I tried the code listed on the dynapi.sourceforget.net site, but I
> can't get it to work - always shows (0,0) as the position.
>
> -Scott
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to