Jump to content
Search Community

Mustana

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Mustana

  1. Hi,

     

    I am useing scroll magic for first time and i got stuck....

     

    everything works fine but what when i click on buttons(social media, design, etc... ) the scroll should get disable and normal animation should play without scrolling and when scroll again my animation should get active on scroll...

     

    Please see below link to have an idea  

     

    http://fbapps.ae/centric_2016/ 

     

    thanks in advance for help!

     

    Mustafa

  2. I am working on a site but when i gave rollover through js using tweenlite , its doesn't works smoothly 

     

    middBttn0.addEventListener("mouseover", midNavHover);

    middBttn0.addEventListener("mouseout", midNavOut);

     

    function midNavHover(e)
    {
    console.log('hover');
    TweenMax.to( document.getElementById('midBttn0'), 0.5, { backgroundColor:"#9fc73a" });
    }
     
     
    function midNavOut(e)
    {
    console.log('hout');
    TweenMax.to( document.getElementById('midBttn0'), 3, { backgroundColor:"#e6e6e6"});
    }

     

     

    anyone please help me, the rollover is quite slow 

×
×
  • Create New...