我在我的网站上使用来自谷歌代码的HTML5Shiv。我像这样将它包含在…中
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>我还需要包括css3-mediauqeris.js,这也可以在谷歌代码上使用。但是,我只能找到js-file的下载链接,但无法找到直接从google-code加载它的实际链接。
http://code.google.com/p/css3-mediaqueries-js/
有什么想法吗?
感谢您的信息。
发布于 2012-01-27 03:10:22
这段代码是Google为其Libraries API编写的not officially supported,但是您应该能够使用从code.google.com下载的版本通过一个普通的脚本标记来包含最新的版本(警告,这不是加载JS的最安全的方式)。
<script src="http://css3-mediaqueries-js.googlecode.com/files/css3-mediaqueries.js"></script>发布于 2013-07-03 22:26:14
使用以下命令:
<!--[if lt IE 9]>
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->https://stackoverflow.com/questions/9023792
复制相似问题