How to use google chrome frame in old dated IE..

Hey guys, Bothering about old dated browsers while running your applications?? Just stop bothering & do code it..to work as like in google chrome..Its pretty easy n simple.. 😉

1.Goto Wamp/Xampp->apache->conf->httpd.conf. There enable mod_setenvif.c and mod_headers.c and copy the following code in httpd.conf  file..

<IfModule mod_setenvif.c>

<IfModule mod_headers.c>
BrowserMatch chromeframe gcf
Header append X-UA-Compatible “chrome=1” env=gcf
</IfModule>
</IfModule>

 

2.copy this meta tag <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″/>

3.Get Script from here. And paste the following code in xyz.php file..

<script src=”js/CFInstall.min.js”></script>
<style>

4. Copy the following code & place in exactly above </body> tag..

<!–[if IE]>
<script src=”http://ajax.googleapis.com/ajax/libs/chromeframe/1/CFInstall.min.js”></script&gt;

<script>CFInstall.check({
mode: “overlay”
});

</script><![endif]–>

Thats it..now if you open your application in old IE browsers, it will prompt to install google frame & after installation it works well like in google chrome..enjoy 😉

Reference: ClickHere

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s