Before that, I used a class library that other people used to feel the stick drops, the perfect parabola, then the problem came to not adapt to various resolutions, then the United States parabola is useless ...
And then I had to find another way to do it.
<div class= "End" > End </div><script src= "####/jquery.min.js" ></script><script>$ (function () {$ ('. Picture '). Click (function () {var flyelm = $ ('. Lanrenzhijia '). Clone (). CSS (' opacity ', ' 0.7 '); Flyelm.css ({ ') Z-index ': 9000, ' Display ': ' block ', ' position ': ' Absolute ', ' top ': $ ('. Picture '). Offset (). top + ' px ', ' Left ': $ (". Picture"). Offset (). left + ' px ', ' width ': $ ('. Picture '). Width () + ' px ', ' height ': $ ('. Picture '). Height () + ' px '}), $ (' body '). Append (Flyelm ); flyelm.animate ({ top:$ ('. end '). Offset () .top, left:$ ('. end '). Offset (). Left, width:50, height:50,}, ' Slow ');}); </Script>
The original is simple and beautiful, after using the feeling is Meng Meng da! duang! daung! daung!
Implement image fly-in shopping cart effects based on jquery