Ho cambiato il tutto in questo modo ma l'effetto non viene eseguito ne nell'onload ne nel mouseenter

Codice PHP:
//window.addEvent('domready', function(){
    
window.addEvent('load', function(){

    
// Second Example
    
    // The same as before: adding events
    //$('layout').addEvents({
    
$('layout').fireEvent('mouseenter'){
        
'mouseenter': function(){
            
// Always sets the duration of the tween to 1000 ms and a bouncing transition
            // And then tweens the height of the element
            
this.set('tween', {
                
duration1000,
                
transitionFx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
            
}).tween('height''600px');
        },
        
'mouseleave': function(){
            
// Resets the tween and changes the element back to its original size
            
this.set('tween', {}).tween('height''20px');
        }
    });
});