
thewebdesignerpro
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by thewebdesignerpro
-
-
-
TweenMax.set
in GSAP
Thanks jonathan!
-
TweenMax.set
in GSAP
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); -
TweenMax.set
in GSAP
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! -
-
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!
-
It's working now. Upgraded to the latest TweenMax version.
-
1
-
-
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 -
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!
-
Thanks rhernando, I will check out those links you provided.
-
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.
Multiple Background Images
in GSAP
Posted
Is it possible to cycle thru the list of background images for a single div (that has multiple background image URLs)?