twitter bootstrap - How to recreate menu like the right nav menu at getbootstrap.com -
On the website for bootstrap, they have a nav menu on the right that stays in place while you scroll, and This will follow you as well as your book through sections How does this work? I have tried to see the source of the page, and it is not called anywhere or it can not be found.
Any help would be great.
All thanks.
I recently answered it. See it here
Or I pasted it down.
If you want to add a fixed sidebar such that the bootstrap uses for their docs, as noted here, try it:
Add And add javascript at the bottom of your page: id = "Foo" data-spy = "affix" data-offset-top = "100" data-offset-bonus = "10" or in place on the scroll you want to lock.
& lt; Script type = "text / javascript" & gt; $ ('#foo') (Offset: {top: 100, bottom: function} (return (this. Bottom = $ ('.pad'). External Het (true))}}) From there, you Would like to adjust the height at which you want to lock by adjusting the 'top' elements. For example:
Comments
Post a Comment