03.31
Last friday marked the first public release candidate of Prototype 1.6.1.
From the Prototype Blog:
Today we tagged the first public release candidate of Prototype 1.6.1. (What happened to RC1? Long story.) While there are more minor fixes we’d like to get into this release, we decided an interim release was necessary because of the final release of Internet Explorer 8 last week.
This is the first public release of Prototype that is fully compatible — and fully optimized for — Internet Explorer 8’s “super-standards” mode. In particular, Prototype now takes advantage of IE8’s support of the Selectors API and its ability to extend the prototypes of DOM elements.
It’s definitely great to see the Prototype team still working hard on improving the library, specially now that jQuery has been receiving so much attention. The one bit that I found interesting was the following:
mouseenter and mouseleave events — simulating the IE-proprietary events that tend to be far more useful than mouseover and mouseout.
The mouseenter and mouseleave events are actually really useful in that they behave exactly like the jQuery hover events. Sadly, it was one of those things that Microsoft actually got right, but no other browser implemented them.
Well, now that Prototype will include this functionality, the Hover plugin will become redundant. It should still be compatible, with the new version of Prototype, but you will not need to include it in the future. Be sure to grab Prototype 1.6.1 as soon as it is released!
Did this actually make it into the release. I’ve tried using the code:
item.observe(‘mouseenter’, function(){
item.down(’span.full-colour’).fade({
duration: 0.5,
delay:0.2
});
});
But it’s not working…