1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

if ie也要以解释?

Discussion in '前端开发' started by BoBo, Apr 3, 2006.

  1. BoBo

    BoBo New Member

    Joined:
    Sep 29, 2005
    Messages:
    929
    Likes Received:
    0
    这个是在HTML文件里的,请问下
    <!--[if IE]>
    <![endif]-->
    这个也可以当ASP那样执行的吗?


    Code:
    <!--[if IE]><A id=ieshp></A>
    <SCRIPT language=javascript type=text/javascript>
    </SCRIPT>
    <![endif]-->
     
  2. laogui

    laogui Administrator
    Staff Member

    Joined:
    Aug 30, 2005
    Messages:
    15,216
    Likes Received:
    35
    是的,这个在web标准里面经常用到。