Skip to content

ajcrites/jquery.headerlinks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

jQuery Headerlinks Plugin (1.0)

Introduction

I created a jQuery plugin for practice and because I thought it would be a fairly good idea. Headerlinks dynamically and automatically (and quickly) creates an organized table-of-contents list anywhere you want on the page in any style.

The headerlinks plugin (if you are using JS) is what is making the nice table-of-contents block at the top of this page.

Purpose

The jQuery headerlinks plugin was designed to simplify and automate table-of-contents based on webpage hierarchy.

Requirements

  • jQuery 1.3+

Documentation

http://explosion-pills.com/development/jquery/plugins/headerlinks/#headerlinks_ident2

Installation

Include jQuery. Any time after that, include this script as you would any other script file. You can then use $("#table-of-contents-conatiner").headerlinks(); at will.

Contributing

  • Use a four space soft tab for indentation.
  • Write if (, for (, and function ( as opposed to if(, for(, function(

About

Automatic table-of-contents creator jQuery plugin

Resources

Stars

Watchers

Forks

Packages

No packages published