Jump to content
Search Community

mrksmts

Members
  • Posts

    1
  • Joined

  • Last visited

mrksmts's Achievements

1

Reputation

  1. Hi, Is it possible to animate all elements and get different end values from each element, as example something like: TweenMax.fromTo('#logo div', 1, {backgroundColor: "#ff0000"}, {backgroundColor: this.data('bgColor')}); Where the "this" is each div in the #logo element. I could achieve this with a for loop but I was wondering if there was a way to one line this. Cheers, Mark
×
×
  • Create New...