Post reply

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.

Request should go into Requests section
Bug reports should go into Bug reports section


Name:
Email:
Subject:
Message icon:

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

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: z_o_o_m
« 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
Posted by: TheGodOfTheNewWorld
« 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