Jump to content
Search Community

Nicat

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Nicat

  1. Hello. I am very happy that after a day of wrestling with my code at last I am able to use GSAP js. I have no idea why nothing worked before :mrgreen:... whatever...

    Is it a good idea to use code like this:

    $(document).ready(function() {
    	$('#show_cl_menu').click(function() {
    		TweenMax.to("#show_cl_menu", 0.5, {color: "#fff"});
    	});
    });
    

    Because I have no idea what are GSAP's events :huh:  like ".click" of JQuery. My main question is: will this code still work 20x faster than JQuery when there are tons of scripts like this? Thanks.

×
×
  • Create New...