Disabling IE Specific Menus in Sharepoint.
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Disabling IE Specific Menus in Sharepoint.

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Vikram404@hotmail.com
Guest





Posted: Mon Jan 24, 2005 8:23 pm    Post subject: Disabling IE Specific Menus in Sharepoint. Reply with quote

Hi,
I want to disable the browser detection and the specific menus which are
specific to IE from showing in the SPS portal. I figured that I need to edit
the "\Program Files\Common Files\Microsoft Shared\web server
extensions\60\TEMPLATE\LAYOUTS\1033\OWSBROWS.JS" for this purpose.

I commented out the line:
this.ie = (agt.indexOf("msie")!=-1);

And now all the special JS menus for IE are not coming up. However, I am not
sure if this is the only change that I need to make and if this will impact
any other functionality ?? Any info from MS, or people who have done
something like this would be appreciated...

Regards,
Vikram
Back to top
Kit Kai
Guest





Posted: Mon Jan 24, 2005 8:53 pm    Post subject: Re: Disabling IE Specific Menus in Sharepoint. Reply with quote

Hello Vikram404hotmailcom@discussions.microsoft.com,
A better way is to create a function called Custom_AddDocLibMenuItems for
document library and straight away return true.
create a function called Custom_AddListMenuItems (I think) and return true
immediate for lists
Do a search for Custom_Add???MenuItems... you will know what are the custom
functions you need, then just return true immediate to disable the menu.
Dun comment the code you have just did... I'm sure you will break something
somewhere...

Quote:
Hi,
I want to disable the browser detection and the specific menus which
are
specific to IE from showing in the SPS portal. I figured that I need
to edit
the "\Program Files\Common Files\Microsoft Shared\web server
extensions\60\TEMPLATE\LAYOUTS\1033\OWSBROWS.JS" for this purpose.
I commented out the line:
this.ie = (agt.indexOf("msie")!=-1);
And now all the special JS menus for IE are not coming up. However, I
am not sure if this is the only change that I need to make and if this
will impact any other functionality ?? Any info from MS, or people who
have done something like this would be appreciated...

Regards,
Vikram
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB