Hi,
Thanks for the reply.
So I have a click event on a burger element that adds an active class to the nav element.
$('.burger').click(function(event){
event.preventDefault();
$('nav').toggleClass('active');
});
When the active class is added the other tween using className removes active when actioned.
.to($('nav'), 0.01, {css:{className:'+=scroll'}, ease: Linear.easeInOut })
The tween above in only actioned once the page has been scrolled passed the header.
I hope helps?
Thanks
Jemes