sol2/demo_docs/source/long.rst
Anthony Johnson b66be12f8c Add 3 + 4th levels to nav and more intuitive scrolling
Adds l3 + l4 nav menus, with more intuitive scrolling to make wandering the
additional nav menu items much easier. Resolves #25. Resolves #76.

* Reuses some styles for l3 + l4 navs items
* Nav interaction was changed to be more intuitive:
  * Nav is always sticky, doesn't scroll past end of content
  * Nav scrolls up immediately on window scroll events
  * Nav scrolls independently
  * Adds TOC expand plus links to the left of nav elements with children, these
    are added and update dynamically
  * Links in nav don't automatically scroll nav
  * Scrolling content will start scrolling nav again
  * Adds URL fragment handling to link and show current anchor links
2015-05-04 14:27:12 -07:00

210 lines
2.2 KiB
ReStructuredText

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...
Example Submenu 1
-----------------
Just a place holder...
Submenu 1
~~~~~~~~~
Just a place holder...
Subsubmenu 1
````````````
Just a place holder...
Subsubmenu 2
````````````
Just a place holder...
Submenu 2
~~~~~~~~~
Just a place holder...
Subsubmenu 1
````````````
Just a place holder...
Submenu 3
~~~~~~~~~
Just a place holder...
Submenu 4
~~~~~~~~~
Just a place holder...
Submenu 5
~~~~~~~~~
Just a place holder...
Example Submenu 2
-----------------
Just a place holder...
Submenu 1
~~~~~~~~~
Just a place holder...
Subsubmenu 1
````````````
Just a place holder...
Submenu 2
~~~~~~~~~
Just a place holder...
Subsubmenu 1
````````````
Just a place holder...
Submenu 3
~~~~~~~~~
Just a place holder...
Submenu 4
~~~~~~~~~
Just a place holder...
Submenu 5
~~~~~~~~~
Just a place holder...