I want to use some animation on my links, while preserving the RESTful routes of Rails. This is my code:
Rails:
link_to('My new project', 'projects/17', class => 'animated_link')
jQuery;
$(".animated_link").click(function(){
$(".container_project").slideLeft();
// ajax fetches new content to container_groups
$(".container_groups").slideLeft();
});
In the jQuery I will have a code that slides the container of the link. After this animation I want to change the browser adress line as well. Is this possible ?