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

Improve ToC #113

Open
strogonoff opened this issue Aug 7, 2019 · 1 comment
Open

Improve ToC #113

strogonoff opened this issue Aug 7, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@strogonoff
Copy link
Contributor

strogonoff commented Aug 7, 2019

The idea is to eliminate duplicate ToC functionality provided by the jQuery-based script, and implement following features without that script:

— Active item highlighting
— Auto-scrolling of ToC sidebar to ensure currently selected item is visible as user reads the main pane

We’d build this based on the static ToC, and avoid regenerating dynamic ToC on top of static ToC unnecessarily, which would provide a slight performance improvement.

@opoudjis
Copy link
Contributor

Implemented highlighting on click in scripts.html.

opoudjis added a commit to metanorma/metanorma-generic that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-iec that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-m3aawg that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-ribose that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-generic that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-generic that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-csa that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-cc that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-gb that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-iec that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-iec that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-iso that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-itu that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-m3aawg that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-m3aawg that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-mpfa that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-ogc that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-ribose that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-ribose that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-un that referenced this issue Apr 21, 2020
opoudjis added a commit to metanorma/metanorma-vg that referenced this issue Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants