My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

A small javascript file which will display an information bar in Internet Explorer 6 encouraging an upgrade.

The bar is similar to Internet Explorer's notification bar and slides into view on the first page of your site the user views, and then remains there on every page until the user closes it. Once closed it will only reappear after Internet Explorer is closed and reopened.

Simply paste the following code into the header section on any webpage

<!--[if lt IE 7]>
	<script type="text/javascript" src="http://ie6-upgrade-message.googlecode.com/svn/trunk/IE6UpgradeMessage.js" ></script>
<![endif]-->

or you can download and host IE6UpgradeMessage.js yourself and link to it it in the same way (but obviously update the address).

The text and url can be customised by setting IE6UpgradeMessage.text and IE6UpgradeMessage.url respectively:

<!--[if lt IE 7]>
	<script type="text/javascript" src="http://ie6-upgrade-message.googlecode.com/svn/trunk/IE6UpgradeMessage.js" ></script>
	<script type="text/javascript">
		IE6UpgradeMessage.text = "My custom text";
		IE6UpgradeMessage.url = "http://www.mycustomwebaddress.com";
	</script>
<![endif]-->
Powered by Google Project Hosting