SimpleModal 1.2.1 Released

Includes bug fixes reported by calderon.joe (thanks joe):

  • Fixed iframe errors when iframe option set to false
  • Fixed auto centering to use data width/height if container width/height is not set

Also changed the default for the iframe option to false.

Links: Project Page | jQuery Plugins Page


SimpleModal 1.2 Released

After almost 11 months, I have finally released an update to SimpleModal.

This release fixes a number of browser related issues (mostly with IE) but also adds a few new features.

Some of the features include:

  • Automatic centering of the modal dialog, unless overridden with the new position option
  • Ability to call $.modal.close(); from the onClose callback without causing infinite loop
  • Eliminated the need for external CSS for IE6 dialog positioning
  • Added a zIndex option for compatibility with other plugins
  • Element resizing when the browser size is changed
  • Added an IFRAME to every modal dialog to prevent object bleed-through

Please see the project page for a full list of features, changes and upgrading instructions.

I also updated the demos, including the contact form, which now has the option to display a subject and cc field, UTF-8 support and minor security features.

If you find any issues or have any questions, please let me know.


WordPress Pumpkin

Tired of carving the same 'ol pumpkin every year, I thought I'd try something different this year. I free-handed the WordPress logo on the pumpkin then carefully carved it out.

WordPress Pumpkin set on Flickr.

WordPress Pumpkin WordPress Pumpkin

WordPress Pumpkin WordPress Pumpkin

Topics: ,

SMCF Drupal Module Release (Beta)

After being asked to help get the SimpleModal Contact Form demo running on a Drupal powered site, I decided to try and turn it into a Drupal Module. Based on my SimpleModal Contact Form (SMCF) WordPress Plugin, I was able to create something which I think is now ready for a beta release.

The details can be found on the project page. The module was built for Drupal 6.x, so give it a try and let me know if you find any issues.


34th Birthday

Yesterday, on September 24, I turned 34! Which means I was born in 1974. What do all of those have in common...4.

4 is my favorite number and it has been for as long as I can remember. Some other random thoughts:
- My sons, Caden and Cooper, are 3 and 4, respectively.
- "Four is the only number in the English language for which the number of letters in its name is equal to the number itself." - Wikipedia
- Kirby Puckett, one of my childhood "idols" wore number 34.

Read more »


Buckle Fracture

Saturday (9/20) morning, we took our boys, Cooper (4) and Caden (3), to a nearby park. I had planned on reading the newspaper while the boys played, but decided to join them on the playground. I took Caden down a big three-story slide, which he was apprehensive about, but I convinced him to go. The ride down was a little rough and both of Caden’s Crocs were torn off on the way down. Unfazed, he climbed right back up to the top and begged me to take him again.

Read more »


Creating a Custom jQuery Selector

This isn't a new topic, but I had the need to create a custom jQuery selector today, so I thought I'd share. Whether you are a jQuery newbie or seasoned pro, you know that jQuery has very powerful selectors. In addition to the class and id selectors, there are over 30 selection expressions that use the colon syntax (:first, :even, :hidden, :input, etc.). If one of the existing selectors doesn't fit your needs, jQuery provides you the flexibility to create your own!

Read more »


Google Chrome – First Impressions

After receiving numerous "downloading" errors (0x80040508), I was finally able to install Google's new browser, Chrome.

Suppressing the temptation to try out all of the new features, I jumped right in and started surfing the web. I'm actually using Chrome to type up this post and so far, everything seems to be working fine.

Read more »

Eric Martin