Disabling Menu Items?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Little

    Disabling Menu Items?

    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

  • Grant Wagner

    #2
    Re: Disabling Menu Items?

    Alan Little wrote:
    [color=blue]
    > 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?[/color]

    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 <gwagner@agrico reunited.com>
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • kaeli

      #3
      Re: Disabling Menu Items?

      In article <Xns95A35826517 EAalanphormcom@ 216.196.97.132> , alan@n-o-s-p-a-m-
      phorm.com enlightened us with...[color=blue]
      > 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?
      >
      >[/color]

      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.



      Comment

      Working...