Author Topic: NO IE6  (Read 3420 times)

Offline TheGodOfTheNewWorld

  • Jr. Member
  • **
  • Posts: 59
  • Im that guy... right THAT GUY
NO IE6
« on: 19-10-2009, 20:25:39 »
Why IE6 is sucks?



How do we get rid of it?

Code: (php) [Select]
<head>
...
<?php
function NOIE6() {
 
$start date(&#39;U&#39;, mktime(-12, 0, 0, 10, 18, 2009));
 
$now time() + date(&#39;Z&#39;) * -1;
 
$isIE6 eregi("MSIE 6\.[0-9]+"$_SERVER[&#39;HTTP_USER_AGENT&#39;]);

 
if ($isIE6 && ($now >= $start)) return true;
 return 
false;
}
// From this day, IE 6 doesnt work for this website
if ( !NOIE6() ) {
 echo &
#39;<link rel="stylesheet" type="text/css" href="styles.css" />&#39;;
}
?>

...
</head>
<body>
<!--[if IE 6]>
<div id="users-ie">
Your version of Internet Explorer is obsolety <a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx">look for the updates</a> or use another web browser <a href="http://www.mozilla.com" title="Firefox web browser">Firefox</a>, <a href="http://www.opera.com/" title="Opera Browser">Opera</a>, <a href="http://www.apple.com/safari/" title="Apple Safari">Safari</a> o <a href="http://www.google.com/chrome" title="Google Chrome">Chrome</a>
</div>
<![endif]-->
....
</body>

well U can edit the parts of text

this code is from anieto2k
« Last Edit: 06-11-2009, 23:01:22 by z_o_o_m »

Offline z_o_o_m

  • Administrator
  • Hero Member
  • *****
  • Posts: 7 143
  • just ask me ;)
    • File & Image Uploader
Re: NO IE6
« Reply #1 on: 19-10-2009, 21:34:16 »
nice, but I don't need this ;)
there is some bug in IE6, my new site doesn't work correctly in IE6 and I need to make some special CSS to fix it .. and I don't know how :) not this

but thanks

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Human verification ... What is the name of my program? File & Image ********?: