Skip to content

Instantly share code, notes, and snippets.

@my8bird
Created October 26, 2012 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save my8bird/3959405 to your computer and use it in GitHub Desktop.
Save my8bird/3959405 to your computer and use it in GitHub Desktop.
Chrome Frame example
<!DOCTYPE html>
<html>
<!-- see http://download.priority5.com/tm_frame.html for how this looks in IE -->
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<!--
Example using Googles detection library
http://www.chromium.org/developers/how-tos/chrome-frame-getting-started#TOC-Detecting-Google-Chrome-Frame-and-Prompting-to-Install
-->
</head>
<body style="background-color: green; width: 100%; height: 100%; padding:0, margin: 0;">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"> </script>
<div id="placeholder"></div>
<script>
CFInstall.check({
node: "placeholder"
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment