I have some code that is working fine aside from the fact that after
executing it adds a #undefined to the end of the current url, this
isn't a huge issue except that it requires the user to press the back
button twice to go back. The code with problems is:
var fxReveal = new Fx.Reveal(this.doms.AddNewCardDiv);
fxReveal.reveal().chain(
function() {
this.effects.smoothScroll.toElement(this.doms.AddNewCardDiv);
}.bind(this)
);
I have a problem with the line:
this.effects.smoothScroll.toElement(this.doms.AddNewCardDiv);
this.effect.smoothScroll is:
this.effects.smoothScroll = new Fx.SmoothScroll({
wheelstops : false
});