View Full Version : Two Questions
01-06-2004, 10:44 AM
1. Is there any way to disable the "Tab Key"?
2. Is there any way to disable the mouse?
The Dingbat. :)
01-06-2004, 11:01 AM
Why would you want to do that? Do you want your page to be unusable?
01-06-2004, 11:43 AM
If the TAB key was disabled this would leave all the other keys active. I hope. At the same time if the mouse was disabled on this page I assume that it would become active when other pages are loaded.
The reason why I am looking to do this is force the user to press the enter key. This is the first page of an intranet.
Can you help.
The Dingbat :)
01-06-2004, 12:19 PM
Sorry for asking too much but why do you want to force the user to press the Enter key? Is it a workaround for the *real* problem? If you explain what you really want, maybe there's a better solution to it.
01-06-2004, 12:32 PM
Yes this is a work around. I have at the moment a parent window that produces a popup and at the same time tries to close the parent. As you know this will produce the "Nag" that the window is being closed. As you also know it gives the option "Yes" or "No" If the "No button is clicked or the tab key used with enter the window will remain open. I am trying to force the user to press enter to close the window leaving the child window open. The child window is chromless and the right mouse button is diabled.
I hope that I have made sence of that.
01-06-2004, 12:52 PM
Have you seen this (http://aspalliance.com/peterbrunone/impossible.asp)?
01-06-2004, 01:10 PM
Thanks Glenn. You have sorted my problem.
The Dingbat. :D :thumbsup:
01-06-2004, 01:16 PM
But take note that the solution presented by the author of that article is a browser hack. So you can't rely on it working in the future.
01-08-2004, 02:39 PM
Thanks for pointing me in the right diorection. It sorted my problem to a certain degree but for you info that code will work but only on the second access to the page. After a cold boot the "Nag" will appear.
Still worth the effort for an intranet.
The Dingbat. :thumbsup: :D
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.