Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Prajna Shetty

Tweenmax not working on ipad

Recommended Posts

TweenLite.defaultEase = Linear.easeNone;
        var ctrl = new ScrollMagic.Controller({
            addIndicators: false,
            vertical: false
        });

        // Create scenes
        $(".page").each(function(i) {
            let target1 = $(this).find(".home-banner-img");
            let target2 = $(this).find(".banner-brief");
            var tl = new TimelineMax();
            tl.from(target1, 0.5, {
                opacity: 0,
                x: 100
            });
            tl.from(target2, 1, {
                scale: 1.2
            }, 0);

            new ScrollMagic.Scene({
                    triggerElement: this,
                    duration: "80%",
                    triggerHook: 0.5
                })
                .setTween(tl)
                .addTo(ctrl)
        });

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×