Subscribe via Email
-
Related Snippets
- detect Mac operating system (JavaScript)
- Accept only alphanumeric characters (JavaScript)
- If in an IFrame, open in a new window or tab (JavaScript)
- Get mouse click position within an element (JavaScript)
- Display human readable date or ODBC date / time (JavaScript)
Archives
Categories
Web Tools
Monthly Archives: March 2012
Image colors render differently in various browsers
Mar282012
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
Mar262012
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
Mar252012
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
Mar192012
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
Mar122012
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
Mar022012
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 …
