For the developers like us, one of the difficult thing is to support all major browsers. You did your best to achieve this and Your client's end-user complains that developed website is not working properly on IE 6 or older browser. IE 6 an outdated browser. So what do you do? Well, how about having a nice message on top of the page to let your end-users know that they are using an outdated browser when they visit your website. Cool.. Isn't it? No worry, when there is jQuery.
Well, there is a jQuery plugin which you can easily install at your website and this plugin takes care of rest of the things. If the end-user's browser is outdated, then it will display a message on the top. See below.
UpgradeBrowsers is a jQuery plugin which you can easily install on your website so every time someone visits your site from an outdated browser, an alert will be displayed with an invitation to update it to its latest version. If you want your visitors to enjoy the new features in HTML 5 and the capabilities of modern browsers, then UpgradeBrowsers interests you.
First of all, you need to download the js file and CSS file so that you can include them in your page.
Download the CSS file from here.
Download the js file here.
Now, include these files in your page and call "$.upgradebrowsers();" in document.ready() and you are done.
When someone visits your site, UpgradeBrowsers detects and verifies the browser version that is less than the default version or the configured version (when you change the 'versions') and if less then shows the alert to upgrade your browser.
This plugin comes in 2 version (development and minified). You can use development version if you want to change configuration settings for browser detection as per your requirement. Basically, you can control or tell which browser to consider as outdated browser.
Also read "Always Minimize or Minify your JavaScript Code".
Feel free to contact me for any help related to jQuery, I will gladly help you.
Well, there is a jQuery plugin which you can easily install at your website and this plugin takes care of rest of the things. If the end-user's browser is outdated, then it will display a message on the top. See below.
UpgradeBrowsers is a jQuery plugin which you can easily install on your website so every time someone visits your site from an outdated browser, an alert will be displayed with an invitation to update it to its latest version. If you want your visitors to enjoy the new features in HTML 5 and the capabilities of modern browsers, then UpgradeBrowsers interests you.
First of all, you need to download the js file and CSS file so that you can include them in your page.
Download the CSS file from here.
Download the js file here.
Now, include these files in your page and call "$.upgradebrowsers();" in document.ready() and you are done.
$(function(){ $.upgradebrowsers(); });To view this demo, please test it in IE 6 or Safari 3 or Firefox 2.
When someone visits your site, UpgradeBrowsers detects and verifies the browser version that is less than the default version or the configured version (when you change the 'versions') and if less then shows the alert to upgrade your browser.
This plugin comes in 2 version (development and minified). You can use development version if you want to change configuration settings for browser detection as per your requirement. Basically, you can control or tell which browser to consider as outdated browser.
Also read "Always Minimize or Minify your JavaScript Code".
Feel free to contact me for any help related to jQuery, I will gladly help you.
No comments:
Post a Comment