How to embed a table of contents in a text

To do this, use the as.makeup function.toc

Based on the title tags in the text it builds a table of contents with the ability to go to the desired section. 

$(function(){
 	if($('.bl-text').length){
     	as.makeup.toc($('.bl-text'), $('.as-toc'), "", 500, 100, "");
    }
});

Parametres: 

  1. cont - the container that holds the text. 
  2. toc - container for inserting the table of contents
  3. title - title of the table of contents (no by default)
  4. duration - animation duration in MS when switching to the element
  5. shift - offset from the top when switching to the element.
  6. selectors - specifying a selector for selecting elements to build the table of contents on (by default " h2,h3,h4,h5,h6")
Falcon Space is a functional web development platform on a narrow stack MS SQL/Bootstrap. Falcon Space Gettting started

SQL-инструмент для создания личных кабинетов на сайте

Суть подхода и история создания Falcon Space

Falcon Space Platform

This is a reduction in the cost of ownership

at the expense of fewer people to support

This is a quick change

while using the program

This is a modern interface

full adaptation for mobile devices

 
Note