Simple, fairly tiny script that lists files and folders in the directory it's placed in.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
sitemapper.php

README.md

Sitemapper

A random little file I coded up one day. Drop it into a web directory and open it in a browser to get a fancypants Javascriptalicious list of files and folders.

To-do

  • Optimise as much as possible, it's a bit slow sometimes.
  • Remove jQuery dependency.
  • Remember expanded/collapsed folder states when navigating away from page.
  • Hide the Sitemapper file from being listed(?).
  • Output something if a directory is empty.

Bugs

  • "Expand all" animations glitch out a bit after > 2 nested folders.
  • Lack of permissions to scan directory leads to directory being listed as empty.

Icons are Gentleface, used under a Creative Commons Attribution-NonCommercial license: http://www.gentleface.com/free_icon_set.html