Jump to content
GreenSock

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

bsteward

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Newbie

About bsteward

  • Rank
    Newbie
  1. Hey all, I've got a lovely animation up and running for the site I'm working on, but I would like the mobile animation to run slightly differently. Specifically, I've got a Tween that looks something like this: TweenLite.to(target, 1, { "top": 0 }); Pretty basic stuff. What I'd really like to do is replace "top" with some variable, such as orientation, declared earlier in the code depending on what device and screen size the user is using. That way, I can change the animation slightly based on the users' device/screen size. I'd like to do this in one Tween if possible, because the
×