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

Highlight first TOC entry by default #21

Closed
joaquincasares opened this issue Mar 25, 2013 · 1 comment
Closed

Highlight first TOC entry by default #21

joaquincasares opened this issue Mar 25, 2013 · 1 comment
Assignees

Comments

@joaquincasares
Copy link
Contributor

Having the option to have the first TOC entry be marked as active, by default, would be a great addition.

Ideally, this would occur when a fresh webpage is first loaded, without an anchor tag location.

This issue can also be seen via the example in:
https://github.com/joaquincasares/jquery.tocify.js/tree/Issue-20/Issue-20

@gfranko
Copy link
Owner

gfranko commented Apr 7, 2013

Tocify v1.4.0 now supports a highlightDefault option that is set to true. http://gregfranko.com/jquery.tocify.js/#OptionsAPI

@gfranko gfranko closed this as completed Apr 7, 2013
@ghost ghost assigned gfranko Apr 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants