aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaiwang <[email protected]>2013-08-18 14:28:52 +0800
committersaiwang <[email protected]>2013-08-18 14:28:52 +0800
commit0c094efe28b34d9eba5a5690ec83c49de423ae1e (patch)
tree514bb80aab3156091eacaf2210637c85f5faf16a
parent04a73ebe42b8beb9567220fe31cc11057badf40f (diff)
downloadbootstrap-0c094efe28b34d9eba5a5690ec83c49de423ae1e.tar.xz
bootstrap-0c094efe28b34d9eba5a5690ec83c49de423ae1e.zip
add IE's Conditional comments for respondjs and html5shiv
-rw-r--r--examples/carousel/index.html7
-rw-r--r--examples/grid/index.html7
-rw-r--r--examples/jumbotron-narrow/index.html7
-rw-r--r--examples/jumbotron/index.html7
-rw-r--r--examples/justified-nav/index.html7
-rw-r--r--examples/navbar-fixed-top/index.html7
-rw-r--r--examples/navbar-static-top/index.html7
-rw-r--r--examples/navbar/index.html7
-rw-r--r--examples/non-responsive/index.html7
-rw-r--r--examples/offcanvas/index.html7
-rw-r--r--examples/signin/index.html7
-rw-r--r--examples/starter-template/index.html7
-rw-r--r--examples/sticky-footer-navbar/index.html7
-rw-r--r--examples/sticky-footer/index.html7
-rw-r--r--examples/theme/index.html7
15 files changed, 90 insertions, 15 deletions
diff --git a/examples/carousel/index.html b/examples/carousel/index.html
index da7cf41a5..aa58c14fc 100644
--- a/examples/carousel/index.html
+++ b/examples/carousel/index.html
@@ -13,6 +13,12 @@
<link href="../../dist/css/bootstrap.css" rel="stylesheet">
<link href="../../dist/css/bootstrap-glyphicons.css" rel="stylesheet">
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
+
<!-- Custom styles for this template -->
<link href="carousel.css" rel="stylesheet">
</head>
@@ -190,7 +196,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="../../assets/js/holder.js"></script>
</body>
diff --git a/examples/grid/index.html b/examples/grid/index.html
index 3cef51e8d..239b0d16a 100644
--- a/examples/grid/index.html
+++ b/examples/grid/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="grid.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -109,6 +115,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html
index ffcb3986e..2fb23138b 100644
--- a/examples/jumbotron-narrow/index.html
+++ b/examples/jumbotron-narrow/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="jumbotron-narrow.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -68,6 +74,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html
index a309fd5ad..af2096a62 100644
--- a/examples/jumbotron/index.html
+++ b/examples/jumbotron/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="jumbotron.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -104,7 +110,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html
index 46ebb6d69..3733b8243 100644
--- a/examples/justified-nav/index.html
+++ b/examples/justified-nav/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="justified-nav.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -74,6 +80,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html
index d1f1944e1..3ed3cf0f5 100644
--- a/examples/navbar-fixed-top/index.html
+++ b/examples/navbar-fixed-top/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="navbar-fixed-top.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -75,7 +81,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html
index 753e916a4..a366a895a 100644
--- a/examples/navbar-static-top/index.html
+++ b/examples/navbar-static-top/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="navbar-static-top.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -76,7 +82,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/navbar/index.html b/examples/navbar/index.html
index ac779e47a..75a996c15 100644
--- a/examples/navbar/index.html
+++ b/examples/navbar/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="navbar.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -72,7 +78,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/non-responsive/index.html b/examples/non-responsive/index.html
index 35f16cddf..c674a1cfc 100644
--- a/examples/non-responsive/index.html
+++ b/examples/non-responsive/index.html
@@ -16,6 +16,12 @@
<!-- Custom styles for this template -->
<link href="non-responsive.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -42,6 +48,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html
index e9c905bd2..a53741b99 100644
--- a/examples/offcanvas/index.html
+++ b/examples/offcanvas/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="offcanvas.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -115,7 +121,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="offcanvas.js"></script>
</body>
diff --git a/examples/signin/index.html b/examples/signin/index.html
index 7c491ae9c..5c0a4543a 100644
--- a/examples/signin/index.html
+++ b/examples/signin/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="signin.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -36,6 +42,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html
index 65693edff..fc22db662 100644
--- a/examples/starter-template/index.html
+++ b/examples/starter-template/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="starter-template.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -52,7 +58,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html
index 0be6de516..92f166d04 100644
--- a/examples/sticky-footer-navbar/index.html
+++ b/examples/sticky-footer-navbar/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="sticky-footer-navbar.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -75,7 +81,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html
index 20e902ddd..aaafbc20d 100644
--- a/examples/sticky-footer/index.html
+++ b/examples/sticky-footer/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="sticky-footer.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -41,6 +47,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/theme/index.html b/examples/theme/index.html
index 54b8d0c84..9569d9e82 100644
--- a/examples/theme/index.html
+++ b/examples/theme/index.html
@@ -16,6 +16,12 @@
<!-- Custom styles for this template -->
<link href="theme.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -375,7 +381,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="../../assets/js/holder.js"></script>
</body>