Jump to content
Search Community

thewebdesignerpro

Members
  • Posts

    12
  • Joined

  • Last visited

thewebdesignerpro's Achievements

2

Reputation

  1. Is it possible to cycle thru the list of background images for a single div (that has multiple background image URLs)?
  2. Never mind, I got it. Should be.. function myFunc(a) { TweenMax.set(a, {css:{opacity:0}}); } var a = [id1, id2, id3, id4, id5]; myFunc(a);
  3. Hi, Is this syntax correct for setting a property for several elements at one go? function myFunc(a) { TweenMax.set([a], {css:{opacity:0}}); } var a = 'id1, id2, id3, id4, id5'; myFunc(a); Thanks!
  4. Thanks, I think the client's ipad is iPad Air.
  5. thewebdesignerpro

    Force3D

    Hello friends, The current project I'm working on performs nicely on desktop, but kinda slow (when scrolling) on an iPad. I'm using iScroll (useTransform: true), with window.requestAnimationFrame. Since the gpu of ipad is quad-core while cpu is dual-core, will using force3d improve performance in this case? Thanks in advance!
  6. Hello and thanks, The code for the Facebook Like Box is something like this: <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FSample&width=300&height=258&colorscheme=dark&show_faces=true&header=false&stream=false&show_border=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:258px;" allowTransparency="true"></iframe> The code for the ScrollTo is: $('a#idname').click(function(){ TweenMax.to(window, 1, {scrollTo:{y:$('#aboutus').offset().top}}); return false; }); Regards
  7. Hi! I'm working on a Wordpress website using Greensock. I'm also using the ScrollTo plugin. Everything's working fine until I included a Facebook Like Box. Now the ScrollTo is not behaving as expected. It no longer scroll to an anchor target smoothly. What happens now is it jumps directly to the anchor w/o the easing. When I remove the Facebook Like Box code, the ScrollTo works perfectly. Any ideas? Thanks!
  8. Thanks rhernando, I will check out those links you provided.
  9. Is it possible to use scroll events to trigger resume and reverse for an animation? On default, I want the animation paused/stopped. When I scroll down (one swipe of mouse wheel or one click on scroll bar down), animation will resume 1 frame. And when scroll up, the reverse.
×
×
  • Create New...