diff options
| author | Mark Otto <[email protected]> | 2013-10-14 09:09:02 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-14 09:09:02 -0700 |
| commit | 70278a4e4f6c2e9079d72a2993b69efd3a965ba0 (patch) | |
| tree | 2bcdbd0383445bc565e20a25f70d32cf1aa8fae2 | |
| parent | efc741b151199f9f5ed6b77a7520348194c362dc (diff) | |
| parent | ceb7694ee325db6b85de374192ecda2407a731ea (diff) | |
| download | bootstrap-70278a4e4f6c2e9079d72a2993b69efd3a965ba0.tar.xz bootstrap-70278a4e4f6c2e9079d72a2993b69efd3a965ba0.zip | |
Merge pull request #11078 from twbs/issue-11019-note
add note to docs about Respond.js & file:// ; fixes part of #11019
| -rw-r--r-- | getting-started.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/getting-started.html b/getting-started.html index c0e34c0a3..0754928f7 100644 --- a/getting-started.html +++ b/getting-started.html @@ -176,7 +176,8 @@ bootstrap/ <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> - <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> + <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.6.2/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> @@ -773,6 +774,10 @@ bootstrap/ <h4>Respond.js and cross-domain CSS</h4> <p>Using Respond.js with CSS hosted on a different (sub)domain (for example, on a CDN) requires some additional setup. <a href="https://github.com/scottjehl/Respond/blob/master/README.md#cdnx-domain-setup">See the Respond.js docs</a> for details.</p> </div> + <div class="bs-callout bs-callout-warning" id="respond-file-proto"> + <h4>Respond.js and <code>file://</code></h4> + <p>Due to browser security rules, Respond.js doesn't work with pages viewed via the <code>file://</code> protocol (like when opening a local HTML file). To test responsive features in IE8, view your pages over HTTP(S). <a href="https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats">See the Respond.js docs</a> for details.</p> + </div> <div class="table-responsive"> <table class="table table-bordered table-striped"> <thead> |
