Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of the script.aculo.us user interface JavaScript library, a member of the Prototype core team and a Ruby on Rails core alumnus. You're using my work every day, even if you're not aware of it (sounds creepy, I know!). Need JS foo? Hire me.

script.aculo.us 1.6.5

November 8th, 2006 by Thomas Fuchs, 11 comments »

I’ve just pushed script.aculo.us 1.6.5 for your download pleasure. It’s a maintenance release that adds a few tweaks here and there—read on!

  • Update to Prototype 1.5.0_rc1 revision [5462]
  • Support the HTML ‘for’ attribute in Builder by using ‘htmlFor’, fixes #6472 [gjones, tdd]

var node = Builder.node('label', { htmlFor: 'myinput' });
  • Add support to run a specific failing unit test by clicking on the corresponding test result, fixes #6290 [leeo]
  • Add modifier key support to Event.simulateMouse, fixes #6391 [savetheclocktower]
  • Add new ‘with-last’ queue position option to queue effects to occur in parallel with the last effect to start in the queue
  • Add new special core effect Effect.Event for one-shot events that follow timelines defined by effect queues
1
2
3
new Effect.Event({ afterFinish:function(){
  // do some code here
}, position: 'end' });
  • Fix an possible crash of IE on Effect.SlideUp, fixes #3192 [thx nel]
  • Add Builder.build() to create nodes from strings containing HTML, [DHH]

var node = Builder.build("<p>this is <b>neat!</b></p>");
  • Add a pulses parameter to Effect.Pulsate to control the amount of pulses, fixes #6245 [leeo]

    For example, this will pulsate twice (if the option is not given, it defaults to five pulses):


Effect.Pulsate('d8', {pulses: 2});
  • Fix an issue with clicking on a slider span resulting in an exception, fixes #4707 [thx sergeykojin]
  • Fix an issue with Draggables when no options are supplied, fixes #6045 [thx tdd]

This should be the last release before Ruby on Rails 1.2 comes out—the next thing will be script.aculo.us 1.7! Lots of good and cool patches are waiting for their addition, and should make it into the 1.7 release.

As always, kudos to the community for supplying patches, bug reports and tests—keep it coming!

Post to Twitter Tweet This Post Post to Digg Digg This Post Post to Facebook Share on Facebook

11 comments »

JavaScript Rocks! Peformance ebook
Do you run a web site or web application? Do your users a favor, and grab our ebook on JavaScript performance. Profit from our knowledge gathered in over 15 years of working with the Web and JavaScript and make your sites ultra-fast and your users ultra-happy.

11 Comments on “script.aculo.us 1.6.5”

  1. 1 Tobie Langel said at 1:30 pm on November 8th, 2006:

    This looks like an exciting release. Effect.Event is a great addition!

    Any plans on integrating something like Bernard’s Animator (http://berniecode.com/writing/animator.html) into script.aculo.us Effects ? That would be a great addition…

  2. 2 online tv said at 1:30 pm on November 8th, 2006:

    Bernard’s animator actually is a bit nicer because its quite lightweight for just the animations alone. But scriptalicious is faster for action event scripting.

  3. 3 Steve said at 1:30 pm on November 8th, 2006:

    I have produced a set of compressed versions of these scripts. It brings the prototype/scriptaculous combo down to 62K, and with gzip compression, the payload slims down to 29K.

    More details here:

    http://www.stevekallestad.com/blog/prototype_and_scriptaculous_compressed.html

    I plan on providing any updates as necessary.

  4. 4 Tobie Langel said at 1:30 pm on November 8th, 2006:

    @ online tv:

    animator is a lightweight effects solution indeed, but it does not by far offer the richness and completeness of script.aculo.us.

    Comparing the two is totally meaningless.

    However, I think animator has an interesting concept which could be a nice addition to script.aculo.us.

  5. 5 Thomas Fuchs said at 1:30 pm on November 8th, 2006:

    Indeed it is an interesting concept, and I’ve something in mind for this. I was thinking about a CSS-based morphing effect since the days of the inception of script.aculo.us, but never got around to implement it (also never really had the need for it, even when doing quite complex animations). So, stay tuned.

  6. 6 Thomas Fuchs said at 1:30 pm on November 8th, 2006:

    Also, I really like this code highlighting stuff in mephisto. ;)

  7. 7 Tobie Langel said at 1:30 pm on November 8th, 2006:

    <blockquote>I was thinking about a CSS-based morphing effect since the days of the inception of script.aculo.us, but never got around to implement it (also never really had the need for it, even when doing quite complex animations). So, stay tuned.</blockquote >

    Sounds great! Really looking forward to this.

  8. 8 Keith said at 1:30 pm on November 8th, 2006:

    Sweet! This will be really nice to integrate together with the <a href="http://www.neohide.com">rest of the work</a> I am doing.

  9. 9 Florian Cervenka said at 1:30 pm on November 8th, 2006:

    Thanks a lot.
    I did encounter one problem:
    The version of prototype bundled with the release does not work properly in Opera.
    For instance Ajax-requests didn’t work anymore.

    A slightly older version of prototype 1.5.0_rc1 does work fine.. here the link:
    http://www.yourep.com/JS/prototype.js

  10. 10 Kabari said at 1:30 pm on November 8th, 2006:

    What happened to ‘Effect.toggle’ in this version?

    ‘Effect.Event.’ is a great addition though, awesome!

  11. 11 Kabari said at 1:30 pm on November 8th, 2006:

    nevermind…I had the versions confused…