diff options
| author | Andreas Cederstròˆm <[email protected]> | 2012-03-27 08:36:34 +0200 |
|---|---|---|
| committer | Andreas Cederstròˆm <[email protected]> | 2012-03-27 08:36:34 +0200 |
| commit | 5d2062a3ccb0fed4901fc9f312c961d042f569bf (patch) | |
| tree | f84d34fac624297f1a70cfebb350ecea42a3327d /docs | |
| parent | 917f11e6799ddd43b439ce1f7a10c1a7360bcf3b (diff) | |
| download | bootstrap-5d2062a3ccb0fed4901fc9f312c961d042f569bf.tar.xz bootstrap-5d2062a3ccb0fed4901fc9f312c961d042f569bf.zip | |
Finish of close conversion from a to button
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 56904 -> 56904 bytes | |||
| -rw-r--r-- | docs/components.html | 6 | ||||
| -rw-r--r-- | docs/javascript.html | 10 | ||||
| -rw-r--r-- | docs/templates/pages/components.mustache | 6 | ||||
| -rw-r--r-- | docs/templates/pages/javascript.mustache | 10 |
5 files changed, 18 insertions, 14 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 93f495965..9a2c46153 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/components.html b/docs/components.html index 5df760459..7854df523 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1879,8 +1879,10 @@ <div class="span4"> <h2>Close icon</h2> <p>Use the generic close icon for dismissing content like modals and alerts.</p> - <p><a class="close" style="float: none;">×</a></p> -<pre class="prettyprint linenums"><a class="close">&times;</a></pre> + <p><button class="close" style="float: none;">×</button></p> +<pre class="prettyprint linenums"><button class="close">&times;</button></pre> + <p>iOS devices require an href="#" for click events if you rather use an anchor.</p> +<pre class="prettyprint linenums"><a class="close" href="#">&times;</a></pre> </div><!--/span--> </div><!--/row--> </section> diff --git a/docs/javascript.html b/docs/javascript.html index 70646afdb..4f777e031 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -208,7 +208,7 @@ <div class="well modal-example" style="background-color: #888; border: none;"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1"> <div class="modal-header"> - <a href="#" class="close" data-dismiss="modal">×</a> + <button class="close" data-dismiss="modal">×</button> <h3>Modal header</h3> </div> <div class="modal-body"> @@ -226,7 +226,7 @@ <!-- sample modal content --> <div id="myModal" class="modal hide fade"> <div class="modal-header"> - <a class="close" data-dismiss="modal" >×</a> + <button class="close" data-dismiss="modal">×</button> <h3>Modal Heading</h3> </div> <div class="modal-body"> @@ -303,7 +303,7 @@ <pre class="prettyprint linenums"> <div class="modal" id="myModal"> <div class="modal-header"> - <a class="close" data-dismiss="modal">×</a> + <button class="close" data-dismiss="modal">×</button> <h3>Modal header</h3> </div> <div class="modal-body"> @@ -964,11 +964,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h2>Example alerts</h2> <p>The alerts plugin works on regular alert messages, and block messages.</p> <div class="alert fade in"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. </div> <div class="alert alert-block alert-error fade in"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <h4 class="alert-heading">Oh snap! You got an error!</h4> <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p> <p> diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index ac06367ce..b0d88dd14 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1802,8 +1802,10 @@ <div class="span4"> <h2>{{_i}}Close icon{{/i}}</h2> <p>{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}</p> - <p><a class="close" style="float: none;">×</a></p> -<pre class="prettyprint linenums"><a class="close">&times;</a></pre> + <p><button class="close" style="float: none;">×</button></p> +<pre class="prettyprint linenums"><button class="close">&times;</button></pre> + <p>{{_i}}iOS devices require an href="#" for click events if you rather use an anchor.{{/i}}</p> +<pre class="prettyprint linenums"><a class="close" href="#">&times;</a></pre> </div><!--/span--> </div><!--/row--> </section> diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index a5010f226..d61a364f0 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -131,7 +131,7 @@ <div class="well modal-example" style="background-color: #888; border: none;"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1"> <div class="modal-header"> - <a href="#" class="close" data-dismiss="modal">×</a> + <button class="close" data-dismiss="modal">×</button> <h3>{{_i}}Modal header{{/i}}</h3> </div> <div class="modal-body"> @@ -149,7 +149,7 @@ <!-- sample modal content --> <div id="myModal" class="modal hide fade"> <div class="modal-header"> - <a class="close" data-dismiss="modal" >×</a> + <button class="close" data-dismiss="modal">×</button> <h3>{{_i}}Modal Heading{{/i}}</h3> </div> <div class="modal-body"> @@ -226,7 +226,7 @@ <pre class="prettyprint linenums"> <div class="modal" id="myModal"> <div class="modal-header"> - <a class="close" data-dismiss="modal">×</a> + <button class="close" data-dismiss="modal">×</button> <h3>Modal header</h3> </div> <div class="modal-body"> @@ -887,11 +887,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h2>{{_i}}Example alerts{{/i}}</h2> <p>{{_i}}The alerts plugin works on regular alert messages, and block messages.{{/i}}</p> <div class="alert fade in"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <strong>{{_i}}Holy guacamole!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}} </div> <div class="alert alert-block alert-error fade in"> - <a class="close" data-dismiss="alert" href="#">×</a> + <button class="close" data-dismiss="alert">×</button> <h4 class="alert-heading">{{_i}}Oh snap! You got an error!{{/i}}</h4> <p>{{_i}}Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.{{/i}}</p> <p> |
