South Tampa Magazine. I used the CakePHP framework to write the back end of this site. Admin panel allows for editing of content pages, listings, categories, editorials, and editorial campaigns. Design by Fourthdoor Creative
Read More »
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've dealt with this problem before and completely forgot about it until a couple days ago... When it came up again :-)
The problem has to do with secure and un-secure elements on a page. If you create an iframe without a "src" attribute, and you are on a secure site, Internet Explorer will throw a security error. Obviously, this is not what we want to see; especially when the client is a huge insurance company. The solution, clearly, is to simply provide a "src" attribute"..
<iframe id="select_box_hider" ></iframe>
Why would you create an iframe without an src? Good question. The reason is to hide <select> elements in IE6 when a floating <div> is over them. The user will never even see the iframe, so I figured I could skip the "src" part. You need the iframe because IE6 behavior is that a <select> is always on top of everything, regardless of assigned z-index...
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 »
Still cabbin' it to work every day but this guy Eric has been giving me rides home in the afternoon - very cool of him if I might say. I'm not even sure if I'm on his way home or if he's just being nice. Either way, it's greatly appreciated. Saves me $10 a day!
I am so sick of Hawaiian Tropic! It seems like that's all I've been working on for the past two weeks. They're picky bastards, too! Anywhere products appear on the site, they must appear in order of volume (4 ounces, 8 ounces, etc). There are some headers that apparently have four ounce bottles of some sort of tanning concotion but they're supposed to be the eight ounce bottles. Honestly, who is going to notice? I didn't and I had them next to eachother in Photoshop at 300% zoom when I was editing them. The only difference I could see was the caps on the bottles were different sizes. It was so minimal! I barely even noticed it - do they honestly think that visitors to the site are going to notice it?! Insanity, I...
Read More »