admin管理员组

文章数量:1287253

I'm using the the HTML5Shiv from google code on my site. I'm including it like this …

<script src=".js"></script>

I also need to include css3-mediauqeris.js that is also available on google code. However I can only find the download link for the js-file but can't find an actual link to directly load it from google-code.

/

Any ideas?

Thank you for your info.

I'm using the the HTML5Shiv from google code on my site. I'm including it like this …

<script src="http://html5shiv.googlecode./svn/trunk/html5.js"></script>

I also need to include css3-mediauqeris.js that is also available on google code. However I can only find the download link for the js-file but can't find an actual link to directly load it from google-code.

http://code.google./p/css3-mediaqueries-js/

Any ideas?

Thank you for your info.

Share Improve this question asked Jan 26, 2012 at 19:07 mattmatt 44.4k107 gold badges268 silver badges402 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 7

Use this:

<!--[if lt IE 9]>
    <script src="http://css3-mediaqueries-js.googlecode./svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->

This code is not officially supported by Google for its Libraries API, but you should be able to include the most recent version via a vanilla script tag using the downloadable version from code.google. (warning, not the safest way to load JS).

<script src="http://css3-mediaqueries-js.googlecode./files/css3-mediaqueries.js"></script>

本文标签: javascriptcss3mediaqueriesjs gt How to include from google codeStack Overflow