开发者

How do you handle mouse control in a Perl web application?

开发者 https://www.devze.com 2023-03-30 05:57 出处:网络
I intend to develop web chess application with Perl. And, wonder which method is most suitable to use mouse tracking without installing many sequenced GUI modules at web side?

I intend to develop web chess application with Perl.

And, wonder which method is most suitable to use mouse tracking without installing many sequenced GUI modules at web side?

I have not开发者_高级运维iced that i need a simple and fast module to valuate mouse coordinates that already can moves objects at web page. Also mouse click button actions has to be considered.

Answer should include faster, compact, most easy and suitable. LET us inform we beginners preferred mouse usage script and module of yours.


If you want responsive mouse actions (as I assume you do for drag-dropping pieces), then you need to do it on the client side. That rules out doing it in Perl (or any other server side language); your options are basically limited to JavaScript, a Flash object or a Java applet.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号