Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
dff122f7
Commit
dff122f7
authored
11 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
avoid using .bs-* in example, & improve style
parent
40142bdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/javascript.html
+2
-2
docs/javascript.html
with
2 additions
and
2 deletions
+2
-2
docs/javascript.html
+
2
-
2
View file @
dff122f7
...
...
@@ -2073,11 +2073,11 @@ $('#myCarousel').on('slide.bs.carousel', function () {
<h3>
Via JavaScript
</h3>
<p>
Call the affix plugin via JavaScript:
</p>
{% highlight js %}
$('#my
A
ffix').affix({
$('#my
-a
ffix').affix({
offset: {
top: 100
, bottom: function () {
return (this.bottom = $('.
bs-
footer').outerHeight(true))
return (this.bottom = $('.footer').outerHeight(true))
}
}
})
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets