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
655e84c5
Commit
655e84c5
authored
Aug 01, 2013
by
Guillermo González de Agüero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed data-toggle class when it wasn't been applied
parent
cbd0b7a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
javascript.html
javascript.html
+5
-5
No files found.
javascript.html
View file @
655e84c5
...
@@ -397,7 +397,7 @@ $('#myModal').on('hidden.bs.modal', function () {
...
@@ -397,7 +397,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<ul
class=
"nav nav-pills"
>
<ul
class=
"nav nav-pills"
>
<li
class=
"active"
><a
href=
"#"
>
Regular link
</a></li>
<li
class=
"active"
><a
href=
"#"
>
Regular link
</a></li>
<li
class=
"dropdown"
>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
id=
"drop4"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown
<b
class=
"caret"
></b></a>
<a
id=
"drop4"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
id=
"menu1"
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop4"
>
<ul
id=
"menu1"
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop4"
>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Another action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Another action
</a></li>
...
@@ -407,7 +407,7 @@ $('#myModal').on('hidden.bs.modal', function () {
...
@@ -407,7 +407,7 @@ $('#myModal').on('hidden.bs.modal', function () {
</ul>
</ul>
</li>
</li>
<li
class=
"dropdown"
>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
id=
"drop5"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown 2
<b
class=
"caret"
></b></a>
<a
id=
"drop5"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown 2
<b
class=
"caret"
></b></a>
<ul
id=
"menu2"
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop5"
>
<ul
id=
"menu2"
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop5"
>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Another action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Another action
</a></li>
...
@@ -417,7 +417,7 @@ $('#myModal').on('hidden.bs.modal', function () {
...
@@ -417,7 +417,7 @@ $('#myModal').on('hidden.bs.modal', function () {
</ul>
</ul>
</li>
</li>
<li
class=
"dropdown"
>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
id=
"drop6"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown 3
<b
class=
"caret"
></b></a>
<a
id=
"drop6"
role=
"button"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown 3
<b
class=
"caret"
></b></a>
<ul
id=
"menu3"
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop6"
>
<ul
id=
"menu3"
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop6"
>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Another action
</a></li>
<li
role=
"presentation"
><a
role=
"menuitem"
tabindex=
"-1"
href=
"http://twitter.com/fat"
>
Another action
</a></li>
...
@@ -436,7 +436,7 @@ $('#myModal').on('hidden.bs.modal', function () {
...
@@ -436,7 +436,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<p>
Add
<code>
data-toggle="dropdown"
</code>
to a link or button to toggle a dropdown.
</p>
<p>
Add
<code>
data-toggle="dropdown"
</code>
to a link or button to toggle a dropdown.
</p>
{% highlight html %}
{% highlight html %}
<div
class=
"dropdown"
>
<div
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Dropdown trigger
</a>
<a
data-toggle=
"dropdown"
href=
"#"
>
Dropdown trigger
</a>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"dLabel"
>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"dLabel"
>
...
...
</ul>
</ul>
...
@@ -445,7 +445,7 @@ $('#myModal').on('hidden.bs.modal', function () {
...
@@ -445,7 +445,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<p>
To keep URLs intact, use the
<code>
data-target
</code>
attribute instead of
<code>
href="#"
</code>
.
</p>
<p>
To keep URLs intact, use the
<code>
data-target
</code>
attribute instead of
<code>
href="#"
</code>
.
</p>
{% highlight html %}
{% highlight html %}
<div
class=
"dropdown"
>
<div
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
id=
"dLabel"
role=
"button"
data-toggle=
"dropdown"
data-target=
"#"
href=
"/page.html"
>
<a
id=
"dLabel"
role=
"button"
data-toggle=
"dropdown"
data-target=
"#"
href=
"/page.html"
>
Dropdown
<span
class=
"caret"
></span>
Dropdown
<span
class=
"caret"
></span>
</a>
</a>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"dLabel"
>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"dLabel"
>
...
...
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