Mega-ZBlog

You are here.

Mega-ZBlog header image

Garry’s Dir Mod Update

March 3rd, 2009 · 5 Comments · Programming, Website

I made some changes to my mod of Garry’s Directory List script. The latest version of garry’s script is seen here.

Mine is here.  The biggest change is I’ve gone for the look of the new Windows 7 Content view for files and folders … I like it very much. 🙂

In addition I have removed most of the excess whitespace, added hover effects, and added tooltip info to images.  In addition there are custom icons for some different filetypes, and it’s easy to change those.

There are also a couple interesting statistics at the bottom.

Download the source here (requires 7zip or a tool that can extract .7z files to use).

Shockingly IE8RC1 renders it correctly without requiring any hacks.  I did not test it with IE7 (I’m scared to, given the semi-hackish way I got the folder/file lists working without tables).  The latest versions of Gecko, Webkit, and Opera all handle it fine… and of course Gecko and Webkit get fancy rounded borders too.

For the future I might add some javascript in to allow for custom sorting and maybe different views for files/folders… who knows.  But that would require coding a lot of the template over in JavaScript.

Tags: ······

5 responses so far ↓

  • 1 Da-Huntha // May 7, 2009 at 5:25 pm

    I beleive your URL to the source is incorrect 🙁
    -> http://junk.mzzt.net/garrysdirmod.7z

    Nice update nevertheless.

  • 2 Clavus // Jun 15, 2009 at 4:25 am

    A little offtopic; I just figured I post this bug report here: On your TF2 kill notification generator, it always shows the kills as crits even though I deselected the “Critical hit” box. Easily solved by renaming the final link it gave me, but a bug nonetheless 😉

  • 3 Steven // Jun 29, 2009 at 3:26 am

    I’ll be honest with you, I don’t like this much. Although the extra statistics of the files are handy and a decent improvement, the interface ruins the experience.

  • 4 Dan Bugglin // Aug 1, 2009 at 8:05 pm

    All of the interface is in template.php, feel free to modify it to your own personal needs.

  • 5 Dan Bugglin // Aug 1, 2009 at 8:11 pm

    Oops, thanks. Workaround: Don’t turn crit on or else it won’t turn off right. 🙂

You must log in to post a comment.