perche' dovrei odiarti?
se ho voglia/tempo per seguire quello che dici ti seguo, altrimenti passo sempre volentieri la parola agli altri!
in questo caso di tempo non ne ho, ma il problema l' ho rilevato tempo addietro e l' ho dovuto risolvere cosi'
codice:
var contentLoaded=false;
window.addEvent('domready', function(){
// Second Example
// The same as before: adding events
$('layout').addEvents({
'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', {
duration: 1000,
transition: Fx.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');
}
});
if(contentLoaded) $('layout').fireEvent('mouseenter')
else window.addEvent('load', function(){$('layout').fireEvent('mouseenter')})
});
window.addEvent('load', function(){contentLoaded=true})
prova
ciao