Jump to content


  • Posts

  • Joined

  • Last visited

Mullingar_Dev's Achievements

  1. The set() duration was the issue, silly oversight on my part! Thanks for the help.
  2. I'm working on an assignment at the moment and having an issue with AutoAlpha. Link: http://johncashin.net/test_sites/marc_comic_2/ In the 2nd and 4th frames, I want to have some elements fading in, however the elements just switch from invisible to visible pretty much instantly. The code I am using on the animation is as follows: var anim0 = function() { TweenLite.set("#popup0",0,{Alpha:0, display:'hidden'}); TweenLite.to("#popup0",2, {Alpha:1, display:'block'}); } var anim3 = function() { TweenMax.set("#popup3",0,{autoAlpha:0}); TweenMax.to("#popup3",2,{autoAlpha:1, delay:2}); } And neither of them are "fading" the opacity. Is there something I am missing? Thanks in advance anyone who takes a look!
  3. I'm trying to put together a full window slider that reacts to key presses (in this case he right and left key) as the basis for an interactive graphic novel. However I'm having issues with the scrollto method, I am trying to scroll horizontally to a section but when I try it, it doesn't work and the console reads "TypeError: Not enough arguments to Window.scrollTo." I have seen similar issues on the board but haven't found a solution that has worked for me, any ideas at all?
  4. Hi there guys, just downloaded the GSAP package yesterday and been reading through the docs. I have a project I want to work on involving an interactive comic book, and I'm just wondering how difficult it may be to implement. I'm somewhat of a newbie at Javascript, covered things like AJAX and some interactivity through JQuery UI, but have little to no experience in animation. I am essentially looking to create a full page sideways slideshow that activates a different series of animations whenever a new slide is opened. Looking at this http://codepen.io/bassta/pen/kDvmC example here on Chrysto/Bastas page it is definitley doable, but whenever I try changing it to have horizontal transitions rather than vertical, I break it, and wouldn't even know where to begin activating animations on each seperate slide. Would any know how I could get on the right track?