Older IE Browser Alert Plugin - IE Alert

File Size: 495KB
Views Total: 3408
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Older IE Browser Alert Plugin - IE Alert

IE Alert is a jQuery lightbox plugin that displays a nice-looking modal window to your visitors who are using old IE browsers like IE7, IE8, etc. This plugin can used to encourage your visitors to upgrade their older IE browsers to get the best possible experience using your website.

See also:

How to use it:

1. Include the latest jQuery library and IEAlert.js

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="iealert.min.js" type="text/javascript"></script>

2. Include IEAlert CSS

<link rel="stylesheet" type="text/css" href="iealert/style.css" />

3. Call the plugin

<script>
 
	$(document).ready(function() {
		$("body").iealert();
	});
	
</script>

4. Options

$("body").iealert({
  support: "ie9" // The modal box will appear on Internet Explorer 9,8,7,6
  title: "your browser is old!" // The title
  text: "Please, update your browser." // The text
  upgradeTitle: "Download" // Upgrade Button Title
  upgradeLink: "http://www.mozilla.org/en-US/firefox/new/" // where the user will be sent when he clicks the Upgrade button
  overlayClose: true // Optionally you can close the modal box by clicking the overlay, the overlayClose option specifies this option. 
  closeBtn: false // Display close button or not
});

ATTENTION: IE Alert uses the  jQuery.browser() method which has been deprecated since jQuery 1.3 and is removed in 1.9. If needed, it is available as part of the jQuery Migrate plugin. We recommend using feature detection with a library such as Modernizr.

Change log:

2013-03-24

  • Fixed for jQuery 1.9+

This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.