Automatically generate navigation anchors from headings (h1, h2, h3, h4, h5, h6) and dynamically populate a Menu stack with the corresponding items.
It is also possible to generate custom anchors by assigning a specific class to a text.
It also automatically detects any Divider stacks or <hr>
tags present and populates the Menu stack with corresponding separators on-the-fly. This ensures that the menu mirrors the content structure on the page.
Title and Dividers can be excluded from the navigation anchors menu by assigning them a specific class. For titles within a text, where it is more complicated to set a class, a specific macro can be used at the beginning of the title to exclude it.
When a menu item is generated, a specific class is assigned based on the header type of it references. This allows for the application of specific styles, thereby enhancing the visual hierarchy of the content. Have fun creating your own menu style!
Of course it integrates perfectly with Total CMS, the navigation menu will be generated on the fly by simply editing the text from the site administration area. This function is particularly useful for Blog Post page content.
By default on Small size the Smart Anchors wrapper is collapsed but with a button you can expand/collapse it.