Oliver Boermans schrieb:
> Clever and almost perfect.
> IE 6 is rendering <--> visibly in the page.
>
> Thanks Klaus!
>
> On 06/03/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>> Why don't you make it the other way round?
>>
>> <!--[if gte IE 6]><-->
>> <script type="text/javascript" src="jquery.js"></script>
>> <!--><![endif]-->
Strange, I'm using similiar code for objects. Try adding white space to
it, I had the same problem if ActiveX was disabled:
<!--[if gte IE 6]> Hide scripts from IE 5 <-->
<script type="text/javascript" src="jquery.js"></script>
<!--> <![endif] -->
If that still doesn't work, you could use Conditional Compilation in the
same way, although that means that you have to surround your scripts
with the following:
/[EMAIL PROTECTED] @*/
/[EMAIL PROTECTED] (@_jscript_version >= 5.6) @*/
alert('I\'m not a dinosaur!');
/[EMAIL PROTECTED] @*/
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/