Sometime ago a Web designer showed me how to organise my functions on one JS file. However, I am having trouble getting it to work. There are no errors on the page but the functions don't seem to run?
The idea is, if the item (Class) is in the HTML I run the JQuery function which is in my functions.js, if not, no need to do anything. I have created a CodePen so people can take a look.
<a href="http://ift.tt/1ApZYnQ"></a>
Any help welcome :)
Aucun commentaire:
Enregistrer un commentaire