Archive for the ‘jQuery’ Category

SelectList 0.4

Tuesday, December 21st, 2010

SelectList 0.4 has just been released. This is a major update which introduces a different (better) approach to how the original multiple selection element is handled and how the plugin stores the selected options.

In the previous versions, the multiple select element was transformed into a single selection drop-down list by stripping off its multiple attribute, so there was no multiple select in the document anymore, and the selected options had to be stored in a series of type="hidden" input elements. However, this turned out to cause significant problems with obtaining the selected values with the core jQuery .val() method, and with serialization through .serialize().

I modified the code so that the original multiple selection element stays hidden in the document and continues to serve as a container for the selected options. This way the .val() and .serialize() methods are unaffected and can be used in the conventional manner.

This solution also has a few drawbacks (for example, it makes validation a bit more complicated), but it’s much easier to work around them than dealing with the quirks of the previous method.

The new version works with jQuery 1.3.2 up to 1.4.4. Oh, and the refactoring also happened to have made it smaller than the previous version.

ImgAreaSelect 0.9.3

Saturday, October 30th, 2010

I released imgAreaSelect 0.9.3 today. It fixes two minor bugs — incorrect behavior of the persistent option under some circumstances, and a problem with displaying handles which manifests itself when the plugin is used with jQuery 1.4.3 (which was released a couple days ago). Thanks to Tim for reporting the latter problem.

SelectList 0.3.3

Thursday, September 30th, 2010

A new minor release of selectList is out, fixing a bug with incorrect handling of special characters in item names. Thanks to Sung Pae for reporting it and suggesting a solution.

ImgZoom 0.2.1

Tuesday, September 21st, 2010

I’ve just released a new version of imgZoom. This is a minor update which brings a few bugfixes and small code improvements.

Thanks to Marc Hoyois for his feedback.

ImgZoom 0.2

Thursday, September 9th, 2010

As promised, I’m releasing imgZoom version 0.2. This is a major update compared to the previous release, as it adds several features that make the plugin an usable alternative to Lightbox (and its numerous clones) — most importantly, the ability to navigate between multiple images (you might have already seen this in the sample gallery that I posted some time ago).

Nonetheless, there are still some features which are obviously missing, like keyboard support and auto-scaling of large images. These are planned for version 0.3, which I hope to develop soon (but, as always, no promises).

The new features are described in the updated documentation. I still need to add some usage examples, though.

As usual, I’m looking forward to your feedback.

ImgZoom 0.2 Almost There

Saturday, August 28th, 2010

A few months back I announced a new version of imgZoom (the Lightbox-esque image zooming jQuery plugin) and exhibited a sample gallery that showed it in action. Most of the new features were already implemented back then, and I hoped to finish it quickly and release the new version, but then I stumbled over a number of problems with Internet Explorer, got somewhat frustrated, and gave it up for a while.

Now, I have finally found enough inner strength to get back to working on it. For the past few days, I’ve been fighting all those nasty Internet Explorer bugs and its insane behavior. It was even more painful than I expected, as often fixing one problem lead to another, a workaround for IE7 triggered a bug in IE6, and so on.

So far, all the time I spent developing the new version can be accurately represented by this pie chart:

You might notice that it bears a close resemblance to another chart that you might have seen on the interwebs:


(source: EatLiver.com)

Conclusion: screw you, Internet Explorer.

Ok, enough whining. The good news is, it seems I managed to resolve or work around all the problems, and now it’s just a matter of a couple more tests and code cleanups to get the new version ready for release — so expect it in a few days.

Unless, of course, the tests reveal more IE-related problems and I get a nervous breakdown. In that case expect a tweet from a mental institution.

SelectList 0.3.2

Saturday, August 21st, 2010

I’ve just rolled out a new release of selectList. It fixes a bug observed in IE7/IE8 where the hint text wasn’t shown in the select field as the initial option. Thanks to Nicolas for reporting this.

The new release isn’t available at plugins.jquery.com yet — there seems to be a problem with authentication on their website and I can’t get to the submission form. I’ll upload it there as soon as they get this fixed. For now, you can just get the plugin here.

Edit: Ok, now I know what happened to the plugins website — they had to lock it down temporarily to deal with spam. Get better soon, plugins website!

SelectList 0.3.1

Monday, August 2nd, 2010

SelectList version 0.3.1 is out. The most significant update in this release is added support for Validation, the de-facto standard jQuery validation plugin. SelectList should now work seamlessly with it.

Thanks go to: Zdenek Machek, Don Mallicoat, and Alex Skrypnyk.

SelectList Documentation Updates

Tuesday, July 20th, 2010

Just a quick notice for selectList users — I have updated the documentation page for the plugin, adding the missing API methods reference. I also added some explanatory text on the examples page. Take a look if you’re interested.

SelectList 0.3

Monday, July 19th, 2010

I’m releasing a new version (0.3) of selectList. This release brings support for the core jQuery method .val(), allowing you to retrieve the list of currently selected options at any time (which might be useful when you want to, for instance, send the selection with an AJAX request).

Thanks to John Watson and Dan Young for notifying me of this.