Jump to content

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


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Newbie

About trekkieDeveloper

  • Rank

Profile Information

  • Gender
  • Location
    Rockford IL
  • Interests
    Web Development, Mobile Development, Animation
  1. It looks to be TweenLite. Check out the function: movePanel:function(e,t,n){ //lots of jQuery TweenLite.to($(".main-container"), u, { css: { marginTop: r }, ease: site.slideEase, onComplete: function () {}); } Hope that helps. Matt
  2. The add() issue has been resolved, the issue was infact that I was using an older version of TimelineMax (TimeLineMax VERSION: beta 1.641). Thank you for this information, I should have looked closer.
  3. Thank you for the help on this jQuery matter. I believe my implementation is pretty close to the appropriate use, but to be sure I'll provide a snippet. Also, something to note, this is being used on a Drupal site, I don't think it matters, but I thought I would include it. My usage: var elements = { $elementOne : $('#jQueryOne'), $elementTwo : $('#jQueryTwo') }; var gsTweens = { one: "", two: "" }; var tl = new TimelineMax({paused:true}); gsTweens.one = TweenLite.to(elements.$elementOne, time, {css:{top: -50px}}); tl.add(gsTweens.one, "label"); //later on tl.remove(g
  4. This is excellent, thank you very much for the help and for the JSFiddle demo. I think this is exactly what I need. I also appreciate the clarification on my misuse of the labels on the timeline as this will help me down the road. I was also wondering about the TimelineMax function add(), I've tried to use this function before when jQuery is loaded (jQuery-1.8.0) and it looks like jQuery thinks the timeline object is trying to reference the jQuery function add(). Has anyone else had problems with this? The jQuery add function: http://api.jquery.com/add/ Matt
  5. I am using TimelineMax for a project and I was wondering is there was a way to possibly update the CSS attribute of a Tween by calling it's label? For example my tween would look like: var tl = new TimelineMax({paused:true}); tl.to(element, time, {css:{top: -50px}}, "my-label"); I would like to possibly call this tween by it's label and update the CSS property to a new value. I tried something like this, but I had no success. tl.removeLabel("my-label"); tl.insert(TweenLite.to(element, time, {css:{top:-100px}}), "my-label"); Any help would be appreciated.
  6. Thank you very much for the help. It came down to it that I was, as you pointed out, using the remove() function incorrectly. I appreciate the help.
  7. I was wondering about the best way to handle a jQuery resize event when a user resizes the browser window. I am using TimelineMax and currently I am pausing the timeline, moving it to the very start of the timeline and then removing the timeline object, initializing a new one and rebuilding the timeline each time the browser resize event is fired. I was thinking there might be a better way to do this. I found this answer on StackOverflow here. Having said that, this solution works, but it moves the timeline to the start every time. If I try and resize the window and pause the timeline at