Jump to content
Search Community

Search the Community

Showing results for tags 'draggable fluidity'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. haja

    Draggable not fluid

    Hello, I attempt to use draggable for one of my project, as you see here it works fine but not fluid, i want tween effect when i drag element. Draggable.create(".item", { type: "x", edgeResistance: 0.65, bounds: ".frises-items", //lockAxis:true, throwProps: true, onDrag: function() { pos = parseInt(this.x); if (pos < 0) { $('.slick-prev').show() } else { $('.slick-prev').hide() } }, onDragEnd: function() { reference = 10880; pos = parseInt(this.x); if (Math.abs(pos) == reference) { $('.slick-next').hide() } else if (Math.abs(pos) < reference) { $('.slick-next').show() } } }); Draggable.get(".item").enable(); Do you have an idea please? Thank you
×
×
  • Create New...