clientside
it's just a few scripts now, but they might be useful. but we're developing for our internal needs, so maybe not.
these all use the mootools 1.11 framework. you can download a custom build at mootools.net, or use the primary build we use (everything up to 'remote') which is available here and will suffice unless otherwise noted.
uncompressed files all contain licenses, informaiton, and comments.
dm_popelement
a mootools based javascript to pop open/closed a DOM element on click. this is the script that controls the header (above) and the strips on our main website.
downlaod compressed (2.5k)
downlaod uncompressed (4.3k)
dm_moviebox
a mootools based lightbox-type javascript for movie content, supporting quicktime (mov/mp4), wmv, some asf support, youtube/google video links. this is intended as a one-line enhancement for any page containing links to quicktime, mp4, wmv, youtube, or google video. it finds any links to supported files and automatically displays them in a lightbox-style overlay window. if the proper plugins are not detected it skips the link and lets the browser treat it normally. it does *not* prevent downloads via right click. you can see an example here.
full example page
download compressed (11k)
download uncompressed (16k)
serverside
these are primarily php5 scripts that serve small utility functions.
dm_pushrandomfile
a small php utility that selects a random file from the current directory and passes it through, with proper mime headers, to the requesting client. it's useful in serving random images/mp3s/etc from static x/html pages. just place it in an images directory, optionally rename it 'index.php' and request it from any css or x/html file.
download zipped (2.3k)
dm_comments
a php script that accepts and stores comments in an XML cache using a UID (pathtofilename or tableuid) corresponding to the page. it makes pages fancy like a blog without any hassle.
full example page
download zipped (3.9k)
