SharePoint 2013 is not supported fully by IE 8 and doesn’t work In browser less than IE 8.
To Display a user friendly message , a popup message is display in the following manner when browser is less than IE8 version.
This was one of the requirement from client.
To Do so
· First add a script editor webpart on your page(i.e. Home page) and Add the following script
<script src="http://code.jquery.com/jquery-1.7.2.js" type="text/javascript"></script>
<script src="/Style%20Library/ie-alert-master/theplugin/iealert.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/Style%20Library/ie-alert-master/theplugin/iealert/style.css" />
<script >
$("body").iealert({
title: "your browser is old!"
});
</script>
|
· Once added save the page.
· After you save the page you need to go to style library and add the folder “ie-alert-master” from the zip file present.
· Don’t forget to check-in all the files and images in “ie-alert-master”
· Also it is possible to change the msg ,in the script just change the title value to what text you need.
Download Script
Comments
Post a Comment