This is a mirror of official site: http://jasper-net.blogspot.com/

jQuery 1.4.4 Released with new fadeToggle feature

| Sunday, November 14, 2010
Last week jQuery 1.4.4 was released and I'm glad to tell you that the Microsoft CDN version of jQuery is now available at:

http://ajax.microsoft.com/ajax/jquery/jquery-1.4.4.min.js

JQuery also host their own CDN at http://code.jquery.com/jquery-1.4.4.min.js

At the point of writing Google haven’t yet updated their CDN but when they do it’s info will be here.

1.4.4 is  is the fourth minor release of jQuery 1.4 and fixes a number of bug and adds a few improvements, they have also added the new fadeToggle method. All the fixes can be found here in the jQuery release notes.

So what is fadeToggle?
  For a long time we have been able to toggleSlide and toggleClass so I guess it makes sense to add this feature to fading as well. Basically you can use it to fade in or out a elements opacity without having to check it’s current visibility.

As with all jQuery effects you can disable the effect globally by using the following code:

jQuery.fx.off = true

Under the covers this sets the duration property to 0.

Read more: thebeebs

Posted via email from .NET Info

0 comments: