Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
9b1520ee
Commit
9b1520ee
authored
Feb 07, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update example code
parent
cfa1e395
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
26 deletions
+32
-26
docs/javascript.html
docs/javascript.html
+16
-13
docs/templates/pages/javascript.mustache
docs/templates/pages/javascript.mustache
+16
-13
No files found.
docs/javascript.html
View file @
9b1520ee
...
@@ -277,24 +277,27 @@ $('#myModal').on('show', function (e) {
...
@@ -277,24 +277,27 @@ $('#myModal').on('show', function (e) {
&
lt!-- Modal --
>
&
lt!-- Modal --
>
<
div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
>
<
div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
>
<
div class="modal-header"
>
<
div class="modal-dialog"
>
<
button type="button" class="close" data-dismiss="modal" aria-hidden="true"
>×<
/button
>
<
div class="modal-content"
>
<
h3 id="myModalLabel"
>
Modal header
<
/h3
>
<
/div
>
<
div class="modal-header"
>
<
div class="modal-body"
>
<
button type="button" class="close" data-dismiss="modal" aria-hidden="true"
>&
times;
<
/button
>
<
p
>
One fine body
…<
/p
>
<
h4 class="modal-title"
>
Modal title
<
/h4
>
<
/div
>
<
/div
>
<
div class="modal-footer"
>
<
div class="modal-body"
>
<
button class="btn" data-dismiss="modal" aria-hidden="true"
>
Close
<
/button
>
...
<
button class="btn btn-primary"
>
Save changes
<
/button
>
<
/div
>
<
div class="modal-footer"
>
<
a href="#" class="btn"
>
Close
<
/a
>
<
a href="#" class="btn btn-primary"
>
Save changes
<
/a
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
</pre>
</pre>
<hr
class=
"bs-docs-separator"
>
<h2>
Usage
</h2>
<h2>
Usage
</h2>
<h3>
Via data attributes
</h3>
<h3>
Via data attributes
</h3>
...
...
docs/templates/pages/javascript.mustache
View file @
9b1520ee
...
@@ -210,24 +210,27 @@ $('#myModal').on('show', function (e) {
...
@@ -210,24 +210,27 @@ $('#myModal').on('show', function (e) {
&
lt!-- Modal --
>
&
lt!-- Modal --
>
<
div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
>
<
div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
>
<
div class="modal-header"
>
<
div class="modal-dialog"
>
<
button type="button" class="close" data-dismiss="modal" aria-hidden="true"
>×<
/button
>
<
div class="modal-content"
>
<
h3 id="myModalLabel"
>
Modal header
<
/h3
>
<
/div
>
<
div class="modal-header"
>
<
div class="modal-body"
>
<
button type="button" class="close" data-dismiss="modal" aria-hidden="true"
>&
times;
<
/button
>
<
p
>
One fine body
…<
/p
>
<
h4 class="modal-title"
>
Modal title
<
/h4
>
<
/div
>
<
/div
>
<
div class="modal-footer"
>
<
div class="modal-body"
>
<
button class="btn" data-dismiss="modal" aria-hidden="true"
>
Close
<
/button
>
...
<
button class="btn btn-primary"
>
Save changes
<
/button
>
<
/div
>
<
div class="modal-footer"
>
<
a href="#" class="btn"
>
Close
<
/a
>
<
a href="#" class="btn btn-primary"
>
Save changes
<
/a
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
</pre>
</pre>
<hr
class=
"bs-docs-separator"
>
<h2>
Usage
</h2>
<h2>
Usage
</h2>
<h3>
Via data attributes
</h3>
<h3>
Via data attributes
</h3>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment