Menu
I’d like to make a javascript to check if users have ie6- and if ask them to install ie7/mozilla/opera. I’d like this page to appear for 10 seconds and then go directly to the home page. Thank you a lot. I really need this.
how can i do that? for example like one of those in-site popus that have a close button, or like a slider? please help ?[/QUOTE]
[CODE]
<script>if(document.all && !window.XMLHttpRequest){
document.write("<div id='ie6annoy'>Please upgrade to a 21st century browser to view this site!</div>");
setTimeout("document.all('ie6annoy').style.display='none';", 10 * 1000); //hide notification in 10secs
setTimeout("window.location.href='/'; ", 10 * 1000); //auto-forward in 10secs
}</script>
[/CODE]
I think such an action is rather bad. There is most likely a reason why most users still has IE6 around. Like me, I'm stick to it at work (major IT-infrastructure provider), since the management has decided to not upgrade the browsers because many of the internal web-tools are written to work with IE6 and not to be standard compilant. In such case, you will only annoy the users to wait for 10 seconds every time they access the site.
A better solution would be to go for a webdev kit that can handle different browsers, such as IE6, and you still only have to provide one html/javascript source for the site. One good such toolkit is this one:http://www.libzter.com/wiki/index.php/Dojo
Although, if you still concider not supporting IE6, then simply add a small notice by javascript that the user can close somewhere on the site that it's not supported by IE6 and suggest an update. As noted before me, no one will probably update the browser because of your site - there is nearly always a reason why people keep old software.[/QUOTE]
Tell your "management" people to move their a...s and pay for a changing of your "internal tools" in order to make them really "standard compliant". And get rid of that dynosaurian IE6.
Do you want to live in the medieval ages forever?[/QUOTE]
Trust me, really - trust me. I want to erase IE6 from the earth yesterday. I really looking forward to create interactive websites with the really features of the new versions of javascript(3) and CSS - flash and silverlight is so outdated! In that case, IE7 and IE8 is really not anything that will last for very long either - but anything is better than IE6.
I only work as a consultant for that company and it has ~30,000 employees, and a lot of people in better positions is probably working on the problem so me sending a mail to the CIO is probably not really a going to change a thing. ;-)
But - as there are people in my position (when working for that company) that have no control of thier computers - that's customers/visitiors going somewhere else but to your site. But yes - its ok to annoy them enough so the very few left might concider clicking "update windows". ?[/QUOTE]
All I want, as a coder, is to see IE6 under 10% on the market, then I might tell my boss that is the moment to persuade his clients to update their applications. ?[/QUOTE]
0.1.9 — BETA 5.18