在网页上实现的快捷键 [英] Implementing shortcut keys in a webpage

查看:398
本文介绍了在网页上实现的快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在宠物的Web应用程序实现的快捷键,我开发我。我使用C#和asp.net。

I was thinking of implementing shortcut keys in a pet web application, I am developing for me. I am using c# and asp.net.

我看到很少web站点(坦白说,我只记得G-邮件),其中有快捷键。

I have seen very few web-sites( frankly I remember only g-mail), which have shortcut keys.

有没有人实现的快捷键为Web应用程序,如果是如何去做?

Has anyone ever implemented shortcut keys for a web application, if yes how to go about it?

感谢。

推荐答案

Accesskeys是无用的,但访问如果你坚持使用他们这个网站。更好的使用这个比JavaScript的,但是访问访问密钥的方式跨浏览器的不同而不同。的这种过度难看的Javascript方案的优点是,它保留这些给浏览器和用户的浏览器的设置来处理它们。

Accesskeys are useless, but visit this site if you insist on using them. Much better to use this than javascript, though the ways of accessing access keys varies across browsers. The advantage of this over ugly Javascript solutions is that it leaves it up to the browser and the user's browser settings to handle them.

这篇关于在网页上实现的快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆