Jump to content


Machine Gun Effect

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Having trouble getting the Greensock machine gun effect to work on my site.

I took the code used from codepen...

See the Pen AGzci by GreenSock (@GreenSock) on CodePen

Cant for the life of me figure out why this isn't working on my site... http://madina.co.uk/test/

Please could you shine some light on this? I need some kinda trouble shooting article




Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.


It looks like you aren't loading jquery.


Just go to the original codepen.

Click share

Click export zip.


That file will give you everything you need.


Let us know if you get it working.

Link to comment
Share on other sites

Export! ...Where is that?

Link to comment
Share on other sites

Screen Shot 2013-05-16 at 11.36.46 AM.png

Link to comment
Share on other sites

My apologies Ive found the export. Thanks! Never assumed it would be under 'SHARE' I'll tell CodePen thanks fer yer help!

Link to comment
Share on other sites

Just for the record, that Machine Gun Text effect doesn't require jQuery - it just makes a few things more convenient, that's all, like creating the elements and adding them to the DOM. HTat's why we used it. You could do all that yourself, though. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.