Results 1 to 4 of 4

Thread: Disable Drop Down Menu

  1. #1
    Join Date
    Sep 2004
    Location
    Georgia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Disable Drop Down Menu

    I am interested in writing a code to disable the drop down menu on a website that enables the page to be edited in MS Word and/or FrontPage. I have the codes for disabling right clicks, highlights, select all, and copying, but I don't have that one to disable the edit mode from the File tab.

    Can anyone help me with that please?

    Kronik Webmaster
    Last edited by Kronik_webmaster; 09-02-2004 at 02:54 AM. Reason: misspelled words

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, you can disable form elements in general, such as a select menu or textarea by using the "disable" attribute. For more info, see: http://javascriptkit.com/javatutors/deform.shtml

  3. #3
    Join Date
    Sep 2004
    Location
    Georgia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm afraid this wasn't much help. I know very little about java script. I create my pages using mainly html, I don't own any webpage maker programs, so I don't know how to re-write it so that the drop down menu isn't functional. The two I want to disable is when a viewer visits my pages, selects FILE, then EDIT USING MICROSOFT WORD FOR WINDOWS or EDIT USING FRONTPAGE. Can you possibly help by writing the codes and allowing me to copy and paste to my webpages? I have a lot of copyrighted material on there that I don't want people taking and I have all the codes for protection but those. I'd appreciate the help. Thank you!

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default problem!

    For anyone who really wants to take information off your page, with the right tools there is no way to stop them; at one point or another, the data comes from your website onto the clients computer, images, everything. It's physically impossible to stop a professional from viewing/taking publically accessible information, but preventing right-click should be sufficent to stop newbies.

    Otherwise, you could create a custom menu on top of the page using one of this website's script resources and launch the website in a popup, although this can be seen as bad web design.

    Generally, when a website restricts right-click or highlighting, it becomes extremely irritating for a user, if they want to just copy a piece of useful text.
    You could consider just putting a Copyright notice there instead to cover yourself?

    Short answer: Its impossible.

    (btw, no-right-click scripts are easily defeated using Firefox and the "Allow Right Click" extension. Just to let you know, in case you want a different way to protect images etc.)

    Hope this helps.
    cr3ative
    Last edited by cr3ative; 09-04-2004 at 04:56 PM.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •