Is this even possible to do something like this in an RJS template?
page.redirect_to url_for(:action => ‘index’, :controller => ‘posts’)
page << “new Effect.ScrollTo
The redirect_to works, but the ScrollTo doesn’t get executed.
Any ideas or workarounds?