【问题标题】:Slim conditional external JavaScript file for IE8用于 IE8 的 Slim 条件外部 JavaScript 文件
【发布时间】:2014-06-20 08:48:47
【问题描述】:

我正在尝试仅将 IE8 的 https://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js 包含在纤薄模板中。

我已经尝试了 Slim template engine syntax for [if lt IE 9 和 How to get HTML5 Boilerplate-style Conditional Comments Working in Slim - https://gist.github.com/helloluis/1183106 中建议的解决方案,但仍然无法正常工作。

有没有人真正找到有效的解决方案?

【问题讨论】:

    标签: internet-explorer-8 slim


    【解决方案1】:

    您是否在模板中尝试过以下操作?

    <!--[if IE 8]>
    <script type="text/javascript" src="https://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
    <![endif]-->
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-08-14
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      • 2010-12-14
      • 2019-05-27
      • 2010-10-09
      相关资源
      最近更新 更多