Loading...

Have you ever had the need to retrieve e-mail information and utilize the data for display on a website, GUI, or for some other web-based purpose? Recently, I was tasked with doing just that. The goal was to retrieve thousands of e-mail submissions from a contact form and parse out the information into readable CSV format.

Exactly one year ago, John Resig and the jQuery team released version 1.3. This release came packed with feature upgrades, such as the new ultra-fast Sizzle selector engine, live event bindings, and more. Development has been rather quiet since then, leading many to speculate that nothing major was going on - boy were they wrong!

One common theme in great user interfaces is the ability to edit content in place without page reload. If you are displaying any kind of editable content to a user, that user will almost expect the ability to manipulate their content without having to work through one or more page reloads. Javascript is the perfect candidate to utilize this type of functionality within your website. More specifically, the jQuery framework will simplify your task even more.

I've been working on a project last week that involves creating a custom plugin for FCKEditor. I needed a way to inject custom code into the HTML output (custom Magento templating stuff, actually). I wanted the code to be hidden from the user but easily managed by the user through a dialog box. This way, the user can easily change this without worrying about the underlying code (or FCKEditor corrupting it).

1. Minimum Width for a Page (Using Expressions)

A very handy CSS command that exists is the min-width command, whereby you can specify a minimum width for any element. This can be particularly useful for specifying a minimum width for a page.

Unfortunately, IE doesn't understand this command, so we'll need to come up with a new way of making this functionality work in this browser. First, we'll insert a DIV under the BODY tag, as we can't assign a minimum width to the BODY:

Method chaining is a fluent interface design pattern used to simplyify your code. If you've used frameworks like Zend or jQuery, you probably have some experience with chaining. Essentially your objects return themselves, allowing you to "chain" multiple actions together.

Update Multiple Timestamps With Triggers - Useful MySQL Tricks Series

This tutorial will explain how to take any image and proportionally shrink it to any size you define.

The three main goals of this function are:

  1. Shrink an image to a defined size
  2. Keep the new image proportional to the old image
  3. Create the new image in the same directory as the old image with a defined prefix (i.e. 'tn_')

And here we go!