By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,302 Members | 3,621 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,302 IT Pros & Developers. It's quick & easy.

Disabling Menu Items?

P: n/a
It seems to me I saw something about this once, but I can't find anything
about it now. Is it possible to disable menu items, perhaps with a signed
script?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Alan Little wrote:
It seems to me I saw something about this once, but I can't find anything
about it now. Is it possible to disable menu items, perhaps with a signed
script?


No, it's not possible to disable individual menu options. I'm going to assume
your request is for a private companies Intranet, rather than the public
Internet, because on the public Internet, attempting that level of control
over the user agent is pointless, since I can defeat any attempt you make to
control my user agent.

If you need that level of control over the user agent, and it's an Intranet,
and you're using Internet Explorer, you may want to look into using an HTA.
You could open the HTA in a new window with no default menu and build your
own menuing system using client-side JavaScript.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #2

P: n/a
In article <Xn**************************@216.196.97.132>, alan@n-o-s-p-a-m-
phorm.com enlightened us with...
It seems to me I saw something about this once, but I can't find anything
about it now. Is it possible to disable menu items, perhaps with a signed
script?


It depends on which menu you're talking about. If you mean the actual browser
(File, Edit, View, etc), then unless you're doing HTA with MSIE, no, you
can't.
If you mean a menu you're using for navigation, it depends on which one
you're using.
If you mean the context menu that comes up when you right-click, you can make
a new context menu, but users can set their browsers to stop you.

--
--
~kaeli~
In democracy your vote counts. In feudalism your count votes.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.