added an example to the demo docs and configured it to use sticky nav for the demo to work

This commit is contained in:
Will Stevens 2014-06-11 13:22:23 -04:00 committed by Eric Holscher
parent c6f7a1771e
commit 2f3c5dfd14
3 changed files with 130 additions and 2 deletions

View File

@ -17,6 +17,7 @@ Contents:
demo demo
list list
long
Maaaaath! Maaaaath!
========= =========

124
demo_docs/source/long.rst Normal file
View File

@ -0,0 +1,124 @@
Long Sticky Nav
===============
This section demonstrates how the 'sticky_navigation' setting behaves when the menu is very long. When this section is selected, it will make the menu and the main area scroll when you are at the top of the page.
Example Menu 1
--------------
Just a place holder...
Example Menu 2
--------------
Just a place holder...
Example Menu 3
--------------
Just a place holder...
Example Menu 4
--------------
Just a place holder...
Example Menu 5
--------------
Just a place holder...
Example Menu 6
--------------
Just a place holder...
Example Menu 7
--------------
Just a place holder...
Example Menu 8
--------------
Just a place holder...
Example Menu 9
--------------
Just a place holder...
Example Menu 10
---------------
Just a place holder...
Example Menu 11
---------------
Just a place holder...
Example Menu 12
---------------
Just a place holder...
Example Menu 13
---------------
Just a place holder...
Example Menu 14
---------------
Just a place holder...
Example Menu 15
---------------
Just a place holder...
Example Menu 16
---------------
Just a place holder...
Example Menu 17
---------------
Just a place holder...
Example Menu 18
---------------
Just a place holder...
Example Menu 19
---------------
Just a place holder...
Example Menu 20
---------------
Just a place holder...

View File

@ -299,5 +299,8 @@ footer
margin-left: 0 margin-left: 0
nav.stickynav nav.stickynav
position: fixed position:fixed
top: 0 top:0
bottom:0
overflow-x:hidden
overflow-y:hidden