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
a19ed6dc
Commit
a19ed6dc
authored
Aug 11, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'aria-nav' of
https://github.com/kevinSuttle/bootstrap
into kevinSuttle-aria-nav
parents
6b6241fe
aa454134
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
64 deletions
+66
-64
_includes/nav-main.html
_includes/nav-main.html
+3
-3
components.html
components.html
+59
-57
javascript.html
javascript.html
+4
-4
No files found.
_includes/nav-main.html
View file @
a19ed6dc
<div
class=
"navbar navbar-inverse navbar-fixed-top bs-docs-nav"
role=
"navigation"
>
<div
class=
"navbar navbar-inverse navbar-fixed-top bs-docs-nav"
>
<div
class=
"container"
>
<button
class=
"navbar-toggle"
type=
"button"
data-toggle=
"collapse"
data-target=
".bs-navbar-collapse"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
...
...
@@ -7,7 +7,7 @@
<span
class=
"icon-bar"
></span>
</button>
<a
href=
"{{ page.base_url }}"
class=
"navbar-brand"
>
Bootstrap 3 RC1
</a>
<
div
class=
"nav-collapse collapse bs-navbar-collapse
"
>
<
nav
class=
"nav-collapse collapse bs-navbar-collapse"
role=
"navigation
"
>
<ul
class=
"nav navbar-nav"
>
<li
{%
if
page.slug =
=
"
getting-started
"
%}
class=
"active"
{%
endif
%}
>
<a
href=
"{{ page.base_url }}getting-started"
>
Getting started
</a>
...
...
@@ -25,6 +25,6 @@
<a
href=
"{{ page.base_url }}customize"
>
Customize
</a>
</li>
</ul>
</
di
v>
</
na
v>
</div>
</div>
components.html
View file @
a19ed6dc
This diff is collapsed.
Click to expand it.
javascript.html
View file @
a19ed6dc
...
...
@@ -355,7 +355,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<h3>
Within a navbar
</h3>
<div
class=
"bs-example"
>
<
di
v
id=
"navbar-example"
class=
"navbar navbar-static"
role=
"navigation"
>
<
na
v
id=
"navbar-example"
class=
"navbar navbar-static"
role=
"navigation"
>
<div
class=
"container"
style=
"width: auto;"
>
<a
class=
"navbar-brand"
href=
"#"
>
Project Name
</a>
<button
class=
"navbar-toggle"
type=
"button"
data-toggle=
"collapse"
data-target=
".bs-js-navbar-collapse"
>
...
...
@@ -365,7 +365,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<span
class=
"icon-bar"
></span>
</button>
<div
class=
"nav-collapse collapse bs-js-navbar-collapse"
>
<ul
class=
"nav navbar-nav"
role=
"navigation"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"dropdown"
>
<a
id=
"drop1"
href=
"#"
role=
"button"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"drop1"
>
...
...
@@ -493,7 +493,7 @@ $('.dropdown-toggle').dropdown()
<h2
id=
"scrollspy-examples"
>
Example in navbar
</h2>
<p>
The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.
</p>
<div
class=
"bs-example"
>
<
di
v
id=
"navbar-example2"
class=
"navbar navbar-static"
role=
"navigation"
>
<
na
v
id=
"navbar-example2"
class=
"navbar navbar-static"
role=
"navigation"
>
<div
class=
"navbar-inner"
>
<div
class=
"container"
style=
"width: auto;"
>
<a
class=
"navbar-brand"
href=
"#"
>
Project Name
</a>
...
...
@@ -511,7 +511,7 @@ $('.dropdown-toggle').dropdown()
</li>
</ul>
</div>
</
di
v>
</
na
v>
</div>
<div
data-spy=
"scroll"
data-target=
"#navbar-example2"
data-offset=
"0"
class=
"scrollspy-example"
>
<h4
id=
"fat"
>
@fat
</h4>
...
...
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