Created
October 26, 2012 15:24
-
-
Save my8bird/3959405 to your computer and use it in GitHub Desktop.
Chrome Frame example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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