在Powerpoint幻灯片中禁用键盘 [英] Disable Key Board in Powerpoint slide

查看:190
本文介绍了在Powerpoint幻灯片中禁用键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



任何人都可以告诉我如何使用JavaScript禁用键盘功能。如果知道请告诉我代码。还要告诉我鼠标禁用的代码。


谢谢,

Nagesh。

解决方案

我可以知道你为什么要禁用键盘。对于特定领域,你可以通过以下方法做到这一点


[HTML] function doThis()

{

返回false ;

} [/ HTML]


[HTML]< input type =" text" onkeypress =" return doThis();"> [/ HTML]

这个特定文本框的
你不能输入任何东西。键盘表现为阻塞。这是你的要求。你刚发布一些关于你的要求的其他信息


问候

Ramanan Kalirajan



我能知道你为什么要禁用键盘。对于特定领域,你可以通过以下方法做到这一点


[HTML] function doThis()

{

返回false ;

} [/ HTML]


[HTML]< input type =" text" onkeypress =" return doThis();"> [/ HTML]

这个特定文本框的
你不能输入任何东西。键盘表现为阻塞。这是你的要求。你刚发布一些关于你的要求的额外信息


问候

Ramanan Kalirajan



你好先生,


感谢您的回复。实际上,我的要求是禁用特定网页中的键盘按键我在那个网页上我不允许任何人复制和粘贴以及打印。使用一些代码我禁用它。


但现在其他要求是禁用powerpoint presentaion上的键盘,这意味着当幻灯片正在播放我想要禁用键盘键如分页,页面向上,箭头键,输入键,Backspace.Home,结束和退出键。

如果可能的话告诉我这是什么代码?。我已经禁用鼠标右键单击左键单击使用一些代码。


所以现在我想禁用上面的键。如果你知道Javascript代码或HTML代码意味着请告诉我代码。

这是紧急的。


谢谢,

Nagesh。

我曾经在体内使用它来禁用右键单击(显然这需要更新为新格式):

展开 | 选择 | Wrap | 行号< /跨度>

Hi,
Can any one tell me How to disable Keyboard Functions using JavaScript.If knows please tell me the code.Also tell me the code for mouse disable also.

Thanks,
Nagesh.

解决方案

Can i know for what reason u are disabling the keyboard. for a particular field u can do that by the following method

[HTML]function doThis()
{
return false;
}[/HTML]

[HTML]<input type="text" onkeypress="return doThis();">[/HTML]

for this particular text box u cant enter anything. the key board behaves as blocked one. Is this ur requirement. you just post with some additional information about ur requirement

Regards
Ramanan Kalirajan


Can i know for what reason u are disabling the keyboard. for a particular field u can do that by the following method

[HTML]function doThis()
{
return false;
}[/HTML]

[HTML]<input type="text" onkeypress="return doThis();">[/HTML]

for this particular text box u cant enter anything. the key board behaves as blocked one. Is this ur requirement. you just post with some additional information about ur requirement

Regards
Ramanan Kalirajan


Hello Sir,

Thanks for ur reply.Actually my y requirement is to disable keyboard keys in a particular web page what i am having.on that webpage i don''t allow anyone to copy and paste and also printing.for using some code i disable it.

But now other requirement is to disable keyboard on powerpoint presentaion that means when a slide is playing i want to disable keyboard keys like pagedown, page up,arrow keys,Enter key,Backspace.Home,End and also escape keys.
If possible tell me what is the code for this ?.I am already disable right mouse click and left clicks using some code.

So now i want to disable the above keys.If u know the Javascript code or HTML code means please tell me the code.
It''s Urgent.

Thanks,
Nagesh.


I once used this in the body to disable right-click (obviously this will need updating to the new format):

Expand|Select|Wrap|Line Numbers


这篇关于在Powerpoint幻灯片中禁用键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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