Closed joaquincasares closed 11 years ago
Having the option to have the first TOC entry be marked as active, by default, would be a great addition.
active
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
Tocify v1.4.0 now supports a highlightDefault option that is set to true. http://gregfranko.com/jquery.tocify.js/#OptionsAPI
highlightDefault
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