Skip to content

8bit-pixies/Contents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contents

Chapman Siu

Table of Contents generator. Influenced by Janko's Table of Contents using Jquery

This script creates a table of contents based on <h1> to <h3> tags of a webpage. It auto generates id's for linking.

Example

Check out the example provided in example.html.

Basic Usage

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="jquery.tableofcontents.min.js" type="text/javascript" charset="utf-8"></script>

And all the script:

$(document).ready(contents);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published