翻译计划

0 views
Skip to first unread message

Shen...@gmail.com

unread,
Feb 7, 2006, 10:05:47 AM2/7/06
to Web Coders

Sheneyan

unread,
Feb 8, 2006, 8:28:00 AM2/8/06
to Web Coders
http://www.javascriptkit.com/javatutors/conditionalcompile.shtml

ie的js条件编译,这篇文章不错

Sheneyan

unread,
Feb 9, 2006, 12:02:11 PM2/9/06
to Web Coders

Sheneyan

unread,
Feb 11, 2006, 12:21:08 AM2/11/06
to Web Coders

forfor

unread,
Feb 15, 2006, 10:56:21 PM2/15/06
to Web Coders
很好用,只是第二种
<![if !IE]>
You are NOT using IE.
<![endif]>
不能通过w3c验证,如果非常在意验证的话,那就不能用了.
用这种方法针对不同浏览器设置css也贼方便^_^

Sheneyan

unread,
Feb 15, 2006, 11:50:08 PM2/15/06
to Web-C...@googlegroups.com
呵呵,你怎么知道不能通过验证的?
http://www.sheneyan.com/g.php/tech/article/js/conditionalcompile.html
你查看我的源代码,在源代码中ie.css我就是使用条件注释包含起来的。可以通过css,xhtml strict验证。

Sheneyan

unread,
Feb 16, 2006, 12:18:25 PM2/16/06
to Web-C...@googlegroups.com
晕....
果然没法通过验证!!!!
我再看看,谢谢提醒

我刚才看的时候才注意到你写的是!IE -_-

Sheneyan

unread,
Feb 17, 2006, 10:00:27 AM2/17/06
to Web-C...@googlegroups.com

Sheneyan

unread,
Feb 17, 2006, 10:00:45 AM2/17/06
to Web-C...@googlegroups.com

forfor

unread,
Feb 20, 2006, 7:16:17 AM2/20/06
to Web Coders
<!--[if IE]>
<![endif]-->的使用没什么问题,一般的浏览器和验证程序只当它是个注释,而IE可能把它当作一个tag.MS的这个想法非常巧妙.
可惜的是<![if !IE]>
<![endif]>就不行了.非IE浏览器不认这个tag,但会正常解释标签内的东西.只是那个可恶的认证,不允许这种自定义tag.

嗯,想到一篇科幻,名字忘了...

Sheneyan

unread,
Feb 20, 2006, 10:23:06 AM2/20/06
to Web-C...@googlegroups.com
嗯嗯,后来看文章的时候就看出这个问题。之前只是看了个标题就弄过来,还没细看...

不过我一时想不起第二种标记有什么比较大的用途呢?

Sheneyan

unread,
Feb 20, 2006, 10:23:37 AM2/20/06
to Web-C...@googlegroups.com

Sheneyan

unread,
Feb 22, 2006, 9:51:52 AM2/22/06
to Web-C...@googlegroups.com
web标准相关:语义的意义!!
http://www.informit.com/articles/printerfriendly.asp?p=369225&rl=1

个人看法:
在web标准中,真正的核心就是web标准强调使用html标签本身的含义,而不是那些扭曲的意思。这篇文章应该能够将我这方面的想法表达出来。

Sheneyan

unread,
Feb 27, 2006, 1:34:32 PM2/27/06
to Web-C...@googlegroups.com

Sheneyan

unread,
May 8, 2006, 10:08:48 PM5/8/06
to Web-C...@googlegroups.com

Sheneyan

unread,
May 11, 2006, 8:44:50 PM5/11/06
to Web-C...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages