I am new to GreenSock and trying to use Draggable plug in of GreenSock.
I have added the JS libraries in following order
My HTML code structure is as follows:
I completely flush #imageContainer and add few elements, with class name galleryImg, to it dynamically.
To make the imageContainer draggable I added following code in my JS
However, when I try to drag the element, an error is thrown and the element is not draggable. The error from FireBug is as follows:
TypeError: i._gsTransform is undefined
The error also occurs as soon as I click (mouseDownEvent) the imageContainer.
Is there anything am I doing wrong over here ?
Which JS files do I need to add to use Draggable?
Where can I find standalone sample examples on how to use GreenSock plugins? (e.g. JQuery has this "View Source" link which can display full HTML to understand the whole example)