Archive for March, 2008

ImgAreaSelect 0.3 Released

Sunday, March 30th, 2008

I’ve finally had some spare time to update the imgAreaSelect jQuery plugin. A couple goodies that you people requested are now added, including the ability to pre-select an area on initialization, and dynamically change selection options.

All the usage examples have been updated to demonstrate a more bulletproof way of initializing the plugin. The initialization method is now called in the $(window).load() event handler instead of $(document).ready(), to prevent the plugin from being started before the image itself has finished loading — I know a few people encountered this problem. Thanks to Wojtek Zymonik for pointing it out.

I’ve also reworked the callback function example to incorporate real-time preview scaling (sounds neat, doesn’t it?).

IE8 vs. Buttons

Monday, March 24th, 2008

Remember the ridiculous implementation of the <button> element in IE6 and IE7? Well, I finally had my first hands-on experience with Internet Explorer 8 (beta 1 for developers), so I was able to check if they fixed it. I tried the new IE on a test page I made for the ieFixButtons jQuery plugin. And you know what? It seems the development team really got it right at last! In IE8 buttons do work as nature intended.

But, I also discovered that my website, the one you’re looking at right now, is slightly broken in the new IE. Specifically, the top navigation menu items are not displayed correctly. So far, I haven’t figured out how to fix it, and I wonder if it’s my fault, or if the beta version of IE8 is, well, too beta, and I should wait for the final version to come out. I will lazily assume the latter for the moment.


Monday, March 17th, 2008

This is what I learned yesterday:

Do not watch The Three Musketeers while working on a use case diagram for your next project, or your diagram will end up like this:

En garde!

Drawn with Umbrello UML Modeller, by the way.

ImgAreaSelect 0.2

Monday, March 10th, 2008

Since many people (okay, actually just six people) requested a few additional features for the imgAreaSelect plugin, I’m releasing an updated version. The plugin now supports moving and resizing of the selection area, width/height limits, and fixed proportions.

I’ve also added a couple more usage examples.