Monthly Archives: March 2012

jQuery nextUntil sluggish

One of jQuery's latest traversal functions, nextUntil, adds enormous value for anyone using expand collapse functionality in their sites. By allowing you to "select" all elements up until a given element, this short little block of code gives us just … more …

Image colors render differently in various browsers

I ran into this issue today, specifically with a 24-bit transparent PNG, saved via Photoshop's "Save for Web" feature. The name "Save for Web" should imply a foolproof export of an image, using color profiles, headers, formats, etc that render … more …

Plone SEO enhancements

I have a fondness for Plone, although many developers point to it's SEO unfriendliness as it's primary weakness. Plone does boast SEO friendly URLs, which used to be a strong advantage. But, SEO friendly URLs are pretty much "factory standard" … more …

Storing last login date as a marketing tool

If you're not already tracking your users' last login date in your database, you might want to consider it. The storage space footprint is minimal, and it provides another way to keep tabs on your user activity. It can also … more …

Strong form SPAM prevention technique

To emphasize the necessity for some form of SPAM prevention, consider this example. You have an HTML form, such as: <form action="send.cfm" method="GET">   <input type="text" name="firstname" value="" /> </form> This form could be submitted by a web browser, but … more …

Eclipse Remote Systems FTP issues

I don't normally drift outside of the coding skillset, but this one has irked me for a long time, and I know other's are feeling the pain. If you've been using Eclipse's remote systems plugin for a while now, to … more …

SQL – Select a random row / record

I've seen many posts on this topic, but none of the seem to account for the fact that your primary key may not start at the number 1. In your finds, you may have come across the following method, which … more …