Flash receives a great deal of hate from the web development community, myself included. Common complaints include load times, performance, unnecessary animations/transitions, forcing users to watch (long) intro movies, inability to bookmark content or specific pages, inaccessibility (especially to mobile users), auto play audio, and that it is bad for SEO. The thing is, most… Continue reading Misplaced Hate on Flash Based Websites
Month: February 2010
jQuery Form Focus Plugin
This jQuery plugin will add a background color to text, password, and textarea input fields in forms when focused, and then revert to the original background color on blur. It is a one line call, with one (optional) parameter, the background color. You can target all forms on the page with this simple line: $(‘form’).formFocus();… Continue reading jQuery Form Focus Plugin
Toolbars on the Bottom of the Page
Adding a toolbar pinned to the bottom of the view port is becoming more common for websites. The idea is to add a bit of functionality, making common links easily accessible at any time. The problem is that it can often give the site a false footer, as is the case with CNET. As you… Continue reading Toolbars on the Bottom of the Page
CakePHP Image Helper
I’ve rewritten my image helper to extend off of CakePHP’s built in HTML helper, rather than reinvent the wheel. The major benefit of using this helper is that it determines the image dimensions, if not specified, and applies them to the image tag, which is one of Google’s rules to optimize browser rendering. <?php/** * This… Continue reading CakePHP Image Helper