This is a message.

Version 1.1.1. September 17, 2009: A bunch of great changes and fixes


jQuery Tools standalone demo
View documentation for this demo »

Version 1.1.1 - Changes and fixes

Here is a full list of all changes and bug fixes in this release:

Realize that although there are new features the overall size of the jQuery Tools is once again a little bit smaller!

A whole new event model

In jQuery Tools version 1.1.1. the event processing is standardized according to the W3C standards. This is good news for advanced scripters - the users who want to extend the default behaviour of the tools and for the jQuery Tools plugin developers. Here is what you can do with it:

  1. Add and remove your existing callback functions.
  2. Specify a name for your callbacks and later remove only those named callbacks.
  3. Specify a single callback for multiple event types.
  4. If you have multiple callbacks of the same type you can prevent the rest of the callbacks from being executed.

You can read the details of the new event model in the User's Manual.

A change from version 1.1.0

With the new event model every supplied callback function receives the jQuery.Event object as the first argument for the callback function. This will break your old installations if you have used callback arguments. For example:

$("#scroller").scrollable({
 
// 1st argument is the event. 2nd argument is the index number
onSeek: function(event, index) {
 
}
});

JavaScript

In earlier versions the index number was the first argument. You will need to add the event argument to your callback functions so that they work as expected.

Tooltip's slide effect as separate module

The Tooltip's default effect has been changed from the slide effect to the toggle effect which provides a simple show/hide functionality. The toggle effect is a logical choice as the default effect for a Tooltip. The sliding animation is a special feature and has not been included in the base code of the Tooltip. If you want to use the slide effect you will need to do following:

<!-- Full jQuery Tools library. Includes all plugins and effects. -->
<script src="http://cdn.jquerytools.org/1.1.1/full/jquery.tools.min.js"></script>
 
<!-- same HTML setup as before -->
 
<!-- supply the effect name explicitly on your configuration -->
<script type="text/JavaScript">
$(".trigger").tooltip({effect: 'slide'});
</script>

HTML

If you don't want to use the full library and want to download only the tools you want you should download a custom combination of the tools.

Now, give me a kiss or write a story about this library in your favourite blog!