Current location: Hot Scripts Forums » General Web Coding » JavaScript » I need a script that will disable the menu bar (file, edit etc)..

I need a script that will disable the menu bar (file, edit etc)..

Reply
  #1 (permalink)  
Old 03-08-04, 02:35 AM
Master-Chemist's Avatar
Master-Chemist Master-Chemist is offline
New Member
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I need a script that will disable the menu bar (file, edit etc)..

if this is not possible, is it possible to disable the "save as" option under 'file'?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-08-04, 11:08 AM
dcooldude_1's Avatar
dcooldude_1 dcooldude_1 is offline
Newbie Coder
 
Join Date: Feb 2004
Location: Sidney
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Under every attempt to create something that would do this, I have found, that it is impossible.....

The only way to get around this is to have it come up in a new window WITHOUT ANY of the menu options..... So, shut off everything, and then they can't get to the SaveAs option.....
__________________
===================================
Dcooldude_1

Site 1: http://ih.sidneyps.com/hs/spokesman/
Site 2: http://www.webhex.net/

Go to http://www.chatzy.com/?132627185966 this is my chat area...
the password is: progtalk
===================================
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 03-09-04, 12:36 AM
Master-Chemist's Avatar
Master-Chemist Master-Chemist is offline
New Member
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sounds good dcooldude_1, but how do i do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 03-09-04, 03:18 AM
TwoD TwoD is offline
Community Liaison
 
Join Date: Sep 2003
Location: 404
Posts: 1,814
Thanks: 0
Thanked 0 Times in 0 Posts
You can't change things like the menubar etc after the window has been opened so you have to use the window.open(arg1,arg2,arg3) method.
argument 1 is the filename, argument 2 is some kind of reference to the window, rarely use it so I don't remember...
argument 3 is where you specify what menus you want to show. I'm sure you can find out what to write in there by looking at a Javascript reference somewhere. Microsoft Script Editor has a very good help section too..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP code to edit a text file mdhall Script Requests 4 11-18-08 07:23 AM
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 04:27 AM
Is there any integrity of script rankings? webmaster@atmanager.com Hot Scripts Forum Questions, Suggestions and Feedback 17 08-06-04 01:12 AM
Upload file to table so ONLY files tied to primary key are displayed in record? grafixDummy PHP 4 12-20-03 05:28 PM
ZIP/RAR file comment/.diz/.nfo viewer script net4ward Script Requests 0 11-19-03 05:41 PM


All times are GMT -5. The time now is 11:25 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.