Browsing the archives for the Scripts category.

Javascript Grayscale

Scripts

buntain-screenshotThis script works great for doing grayscale on hover when used with jQuery.

http://james.padolsey.com/demos/grayscale/

I used it to gray out thumbnails on a staff page then used the grayscale.reset() function to colour them in on hover.  The demo page says it doesn’t work well in Chrome but it seems to be working fine for me.

No Comments

txtPHPCounter

Scripts

This is a PHP script that I wrote a long time ago (possibly around 2002) to count the unique visitors to your website. It does not require a database and stores everything in a text file.  It is suitable for small websites that don’t expect large amounts of traffic.  It will display web page hits in either text or graphical mode.

Please note that I have not modified this code from its original version so there may be some unknown compatibility issues.  Also, if you do look at the code don’t think that I would still write any code like this.

THIS IS NOT AN EXAMPLE OF MY CODING STYLE/SKILL OF TODAY!

With all the new free Web2.0 tools that are available these days you really should be looking into implementing something like Google Analytics to track your visitors. I just thought I would make txtPHPCounter available since sites are still linking to it.

Download txtPHPCounter.zip

No Comments