Le voici :
Code : Tout sélectionner
Fx.Properties = Fx.Styles.extend({
increase: function(){for ( var p in this.now) this.element[p] = this.now[p]; }
});
Fx.FlyingScroller = Fx.Properties.extend({
initialize: function(el, options){
this.parent(el, options);
this.options = Object.extend(this.options || {}, Object.extend({
paddingLeft: 0,
paddingTop: 0
}, options || {}));
},
toElement: function(el, paddingLeft, paddingTop){
this.goTo(el.offsetLeft - (paddingLeft || this.options.paddingLeft || 0), el.offsetTop - (paddingTop || this.options.paddingTop || 0));
},
goTo: function(x, y){
this.custom({
'scrollTop': [this.element.scrollTop, y]
})
}
});
window.onload=function(){
var objet = document.getElementById(\"tile-inner\");
}si quelqu'un pouvait bien m'aiguiller sur la fonction qui n'est pa géré par I6, ce serait super.
J'ai deja regardé du côté du getElementById que je devrais remplacer par getObjectById mais ça ne change rien...