Skip to content

Instantly share code, notes, and snippets.

@guillermorangel
Created November 15, 2013 02:34
Show Gist options
  • Save guillermorangel/7478214 to your computer and use it in GitHub Desktop.
Save guillermorangel/7478214 to your computer and use it in GitHub Desktop.
overlay if ie7 is detected
<!--[if lt IE 8]> <div id="ie-warning-overlay"> <div id="ie-warning"> <h1>Did you know that your copy of Internet Explorer is terribly out of date?</h1> <p> To get the best possible experience using our website, we recommend that you upgrade to the latest version or use another web browser. Any of the following will provide a superior experience, not only on this site, but across the web. </p> <p>Just click one of the icons below to get to the download page.</p> <ul> <li> <a href="http://microsoft.com/ie"> <img alt="Download Internet Explorer" src="images/browser_ie.gif" /> <p>Internet Explorer 9+</p> </a> </li> <li> <a href="http://mozilla.org/firefox"> <img alt="Download Firefox" src="images/browser_firefox.gif" /> <p>Firefox</p> </a> </li> <li> <a href="http://google.com/chrome"> <img alt="Download Chrome" src="images/browser_chrome.gif" /> <p>Google Chrome</p> </a> </li> <li> <a href="http://apple.com/safari"> <img alt="Download Safari" src="images/browser_safari.gif" /> <p>Safari</p> </a> </li> <li> <a href="http://opera.com"> <img alt="Download Opera" src="images/browser_opera.gif" /> <p>Opera</p> </a> </li> </ul> </div> </div> <![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment