3 Replies Latest reply on Nov 11, 2013 1:25 AM by rj48

    How do I use cookies to control which part of the timeline to play from?


      Hi there,


      I have created an animation with Adobe Edge. My site uses Concrete5 and I am pulling in the Edge content into an IFRAME on my home page (there my be a better way to do this and I'm open to suggestions). I want the animation to play from the start when someone first visits the site, but if during their browser session they navigate back to the home page, I want the animation to only play a shorter segment of frames near the end.


      My question is, how do I use cookies to acheive this? I'm new to javascript/jquery.


      I've included the following code on compositionReady, (found in another post on this forum) but don't have a clue how to continue...



      // insert code to be run when the composition is fully loaded here yepnope(   {     nope:[       '/js/jquery.cookie.js'     ],   complete: init   } ); function init() { //create your cookie's initial values here }


      My temp site is here -


      On revisting the homepage, I only want to play from when the green 'How can we help?' button drops in.


      Many thanks!