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!
Tweet This Post
Digg This Post
Share on Facebook









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…
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.
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.
@ 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.
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.
Also, I really like this code highlighting stuff in mephisto.
<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.
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.
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
What happened to ‘Effect.toggle’ in this version?
‘Effect.Event.’ is a great addition though, awesome!
nevermind…I had the versions confused…