Jump to content
Search Community

frannyglass79

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by frannyglass79

  1. Hi there,

     

    i need to constrain an element to a convex polygonal object. I made a test with an svg set for the Draggable's bounds, however i had the impression Draggable just used the svg's BoundingBox. Is that so?

    Any ideas or hints as to how to accomplish this task?

     

    Thanks a lot

    Nadja

  2. Hi,

     

    I'm working on a project where i have some elements that are transformed (rotated) in 3d space. Now when I perform a hittest with an element that's not transformed it seems the hittest calculates the "Hitting" based on the non-rotated elements. This has the effect that while i'm visually not hitting, hittest still returns true.

     

    Is there a way around this? 

     

    cheers

    nadja

  3. Hi Carl,

     

    thanks for your help.

    while i animated the left property in the codepen, the same thing (no effect on scroll position) happens when I animate x by the way.

    I already tried the scrollTo plugin and it works but there is no yoyo property. i guess i'd have to implement that myself with scrollTo.

     

    cheers

    Nadja

  4. Hello,

     

    i just started using GreenSock and from the examples I'm very impressed :)

    Now i try to implement a prototype and have run into a problem.

     

    I have a div consisting of several divs laid out horizontally. This div is wider than the screen and i want it to move from left to right and back again. This i got to work.  If the user starts scrolling manually, the animation should stop (works too) and the user should be able to scroll the div normally. Here is where i ran into a problem. Let's say the div scrolls to the left, then everything that goes offscreen is lost to the manual scroll and can't be reached. I'm not sure how to explain it, please see the attached codepen.io

     

    I'd be grateful for any advice.

     

    Kind Regards

    Nadja

    See the Pen vkxli by anon (@anon) on CodePen

×
×
  • Create New...