Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Spiderian

Zoom Crops off Top Left

Recommended Posts

Hey, when I zoom in it zooms to the top left. I can scroll back to where I was centered, but is there a way to change the registration point?

 

When I zoom in to a specific spot by moving top:-x, left:-x it crops off the top left. Would a better way, than changing the registration point, be appending the bounding box?

 

I tried a couple suggestions with adding draggable, but in all the demos it required something for only paid members.

 

Any ideas would be greatly appreciated. Thanks!

Link to comment
Share on other sites

Hello Spiderian, and welcome to the GreenSock Forums!

 

If possible can you provide a limited

See the Pen by pen (@pen) on CodePen

or jsfiddle example, so we can better help you in a live editable environment to better help you,

 

Thanks! :)

Link to comment
Share on other sites

From what I can gather, maybe you can do something with the ScrollToPlugin? I'm not really sure I'm understanding the issue, so a demo would definitely help.

Link to comment
Share on other sites

  • 2 weeks later...

Here is my js fiddle. For some reason though, it's not reading the greensock js I wrote.

Link to comment
Share on other sites

Hi Spiderian,

 

It looks like your link didn't make it. Please try again. Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×