Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add side menu #47

Open
rinse0ut opened this issue Mar 25, 2017 · 2 comments
Open

Add side menu #47

rinse0ut opened this issue Mar 25, 2017 · 2 comments
Assignees

Comments

@rinse0ut
Copy link

Add side menu for pages which have more than 3 headlines.

The side menu lists and links the headline

eg https://staging.javascript101.co.uk/getting-started#code-editors

@STRAYKR
Copy link

STRAYKR commented Mar 29, 2017

What do you have in mind for this Dave? Would it look like a static column on the left with anchor links to the H2 headings?

Pseudo code maybe...

  1. grab all H2 headings (somehow maintaining the order)
  2. if headingsH2.length > 2, display a full height column on the left
    1. in the column list H2 headings in correct order.
    2. the a tags should link to the relevant headings

@rinse0ut
Copy link
Author

Yes that's correct.

@katjad katjad self-assigned this Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants