If you're using Safari (which I am -- I just can't stand that Firefox widgets look like they live in Windows 95 land), you have to get Safari Adblock. Ads suck. Don't put up with them. Sorry Windows users (aka "suckers"), this appears to be for OS X Safari only, right now.
I've been doing some work for Fourthdoor Creative and tonight I put together some slideshows for a website using SlideshowPro and some nifty php/htaccess coding. The project called for 23 slideshows, each consisting of three to ten pictures. So, since I'm lazy and didn't feel like writing 23 xml files for SSP, I wrote a little php script to parse through the directories and hand out xml files on the fly. Thru htaccess/mod_rewrite "RewriteRules", I redirect requests for the xml files to a script which returns xml for SSP and displays...
Read More »
I'm out of my sister's house. Got a roommate. Still at the new job - not so "new" anymore. Haven't posted in a while. I've been lazy. I'm going to try and shift the focus of the blog (this site) away from me and more to tech stuff. So let's do that...
I added an extra little feature to the comments a couple nights ago to combat bot spam. There's a new field on the 'Add Comment' form that should be ignored. The tip even says to leave it blank. Somewhat confusing, I know but hopefully it will help prevent the bot posts. There's another new security measure, but I'll keep that a secret ;)
Next is a fun JavaScript problem(?) I ran into today that has to do with variable scope and for loops. Basically, the browser is getting confused between two separate for loops in two separate functions that use the same iterator variable....
Read More »
I thought of this last night when I was trying to fall asleep. I saw an article about something similiar to this recently but I'm not sure if it was dynamic. This is what's going on...
The linked page is a simple proof-of-concept. I was thinking of writing some sort of project management and I thought it'd be nice to have an option to open links in tabs. I know, Firefox has tabs (and I use them religiously) but when I have four tabs open just trying to navigate through a project, along with the 5 other tabs for my shoutcast station, digg, the site I'm working on, etc., it's a bit cumbersome to find my way around. About an hour later, I had this.
The script uses an unordered list for the tabs and div's to contain content. Both have a little CSS to make them do what I want'm to. Next phase: closing tabs.
View Demo (right click and 'Save As...' to download)
Read More »