Popular Content

Showing content with the highest reputation on 07/22/2018 in all areas

  1. 1 point
    You can change maxDuration and minDuration while defining the Draggable or you can change it on the fly. You can also perform tests on distance between object and target location inside snap function to set the maxDuration. https://greensock.com/docs/Utilities/Draggable Read 'throwProps' under Config object properties In following demo I am changing minDuration to demonstrate.
  2. 1 point
    JS Bin should work just fine. Here's an example of jQuery and GSAP. https://jsbin.com/cepafenigi/edit?html,css,js,console,output Be sure you're loading the libraries that you need. Here's the GSAP link: <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/TweenMax.min.js"></script>
  3. 1 point
    Sorry, but I'm not really following your question. It sounds like you may need to read some more about media queries. https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries A good article on CSS Tricks https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ If you have any GSAP specific problems or questions, we're happy to help.
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up