handle mouse click event

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

handle mouse click event

fabrizio_val
Hi,

 when a user clicks on a page or a WAComponent, how can I get, using Seaside,:
 - the X, Y coordinates of the mouse;
 - the mouse button pressed (left or right);
 - the keyboard key pressed (Shift, Ctrl, Alt,..)?

I know how to do it in Morphic, but I ignore how to do it using Seaside.

Thanks

Fabrizio

fabrizio_val(AT)libero.it


------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada25gen07


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: handle mouse click event

Lukas Renggli
> I know how to do it in Morphic, but I ignore how to do it using Seaside.

http://www.quirksmode.org/js/contents.html#events

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside