Commit dff122f7 authored by Chris Rebert's avatar Chris Rebert

avoid using .bs-* in example, & improve style

parent 40142bdc
...@@ -2073,11 +2073,11 @@ $('#myCarousel').on('slide.bs.carousel', function () { ...@@ -2073,11 +2073,11 @@ $('#myCarousel').on('slide.bs.carousel', function () {
<h3>Via JavaScript</h3> <h3>Via JavaScript</h3>
<p>Call the affix plugin via JavaScript:</p> <p>Call the affix plugin via JavaScript:</p>
{% highlight js %} {% highlight js %}
$('#myAffix').affix({ $('#my-affix').affix({
offset: { offset: {
top: 100 top: 100
, bottom: function () { , bottom: function () {
return (this.bottom = $('.bs-footer').outerHeight(true)) return (this.bottom = $('.footer').outerHeight(true))
} }
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment