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
fd844c6d
Commit
fd844c6d
authored
Aug 26, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #89 from karthikv/clean-up
Made JavaScript Unobtrusive and Removed Unused Class
parents
ebfe465b
0a34a6d4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
docs/assets/js/application.js
docs/assets/js/application.js
+14
-2
docs/index.html
docs/index.html
+2
-2
examples/hero.html
examples/hero.html
+2
-2
No files found.
docs/assets/js/application.js
View file @
fd844c6d
$
(
document
).
ready
(
function
(){
// Google code prettify
// ================
// cache $(window), as it is used in scroll spy logic later on
var
$window
=
$
(
window
);
$window
.
load
(
function
()
{
// prettyPrint cannot be set as the event handler to load directly; see
// http://google-code-prettify.googlecode.com/svn/trunk/README.html
prettyPrint
();
});
// scroll spy logic
// ================
var
activeTarget
,
$window
=
$
(
window
),
position
=
{},
nav
=
$
(
'
body > .topbar li a
'
),
targets
=
nav
.
map
(
function
()
{
...
...
docs/index.html
View file @
fd844c6d
...
...
@@ -29,7 +29,7 @@
<link
rel=
"apple-touch-icon"
sizes=
"114x114"
href=
"images/apple-touch-icon-114x114.png"
>
</head>
<body
onload=
"prettyPrint();"
>
<body>
<!-- Topbar
================================================== -->
...
...
examples/hero.html
View file @
fd844c6d
...
...
@@ -25,7 +25,7 @@
<div
class=
"topbar"
>
<div
class=
"fill"
>
<div
class=
"container
fixed
"
>
<div
class=
"container"
>
<h3><a
href=
"#"
>
Project name
</a></h3>
<ul>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
...
...
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