Our company intranet runs on SharePoint 2007. We use IE11 to browse.
I want to add HTML5/CSS3 content to the site, but unfortunately, when viewing in document modes IE8+, a lot of system functionality starts to fail when in edit mode (rich-text menu, web part edit menu). For now, it works in IE7 mode only with no CSS3 support.
I have noticed that the problems only happens when in edit mode. Therefore I want to switch the IE7 document mode on / off dependant of the page mode (edit/display)
I have found a tutorial to do this by creating a new assembly, but I do not have WSS server access, only to the master/layout/site pages.
Is this possible with js/sp controls? If so, anyone knows how?
Thanks for your post, appreciate it. Unfortunately, I don't have access to the server to be able to deploy a custom web part.
However, I do have access to the master page. My goal is to be able to use the rich text editor, which won't load from the edit content menu in IE8.
I have made some progress and can switch document modes from EDGE in display mode to IE8 when in edit mode using the code below.
<PublishingWebControls:EditModePanel runat="server" PageDisplayMode="Display"> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> </PublishingWebControls:EditModePanel> <PublishingWebControls:EditModePanel runat="server" PageDisplayMode="Edit"> <meta http-equiv="X-UA-Compatible" content="IE=8"/> </PublishingWebControls:EditModePanel>
However, if I try to switch directly to IE7, the page becomes blank.
If I switch to IE8, and change document modes to IE7 in dev tools, the page works as expected.
Therefore, I need a way to switch from IE8 to IE7 using sp controls like above.
Any ideas? Thanks!