Skip to content

A quick little example of using JavaScript buttons to toggle section visibility for HTML pages.

License

Notifications You must be signed in to change notification settings

johnkerl/jko-toggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jko-toggler

A quick little example of using JavaScript buttons to toggle section visibility for HTML pages.

Update 2025-01-11: This has been reimplemented as (and superseded by) the URLAndPersistentNButtonToggler class within the Sliver JavaScript library.

Live demo:

See index.html in this repo for example usage:

  • Name the divs you want to be expandable
  • Set up a button for each one
  • Include jko-toggler.js at the end of the HTML body

About

A quick little example of using JavaScript buttons to toggle section visibility for HTML pages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published