Solved

Jquery animation to fly item into recycle bin

Posted on 2014-09-10
3
1,014 Views
Last Modified: 2014-09-12
Im looking for a cool jquery animation that will allow me to simulate an item moving from one location and disappearing in another.
i.e. something like an item being clicked and moved to the recycling bin.
0
Comment
Question by:Al4ddin2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40315738
Something like...
http://jsfiddle.net/buc2ok9h/

$("div").animate({top:"100px",left:"200px"}).hide(500)

Open in new window

0
 
LVL 82

Expert Comment

by:leakim971
ID: 40315797
test page : http://jsfiddle.net/fmo045a7/

$(function() {
    $("#paper").click(function() {
        var target = $("#trash").offset();
        $(this).animate({ top:target.top, left:target.left }, 2000, "easeInQuint", function() {
            $(this).fadeOut();
        });
    });
});

Open in new window

0
 
LVL 25

Accepted Solution

by:
lenamtl earned 500 total points
ID: 40317017
I like those libraries (css but can be a plus to your jQuery)
http://www.minimamente.com/example/magic_animations/
http://colindres.me/saffron/
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to dynamically set the form action using jQuery.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question