Question about a script and Jquery in general
-
Hello,
First of all, I have almost no knowledge in JS or Jquery therefore I apologize if my questions are stupid.
I am using this script in my WP theme: https://i50.tinypic.com/iw858o.png
It works fine but I’d like to know if it is Jquery or pure Javascript? I can’t tell the difference…
Also, is there a way to improve it for WordPress? I read several times that the ‘$’ should not be used. But I don’t know whether I should replace all ‘$’ by ‘jquery’… And another question, should I regroup all scripts into one file or keep them separated?
I have a few small/simple scripts like this and I’d like to “convert” them for WP. Finally if you know beginner ressources that may help me, please feel free to share them : )
Thank you in advance for your help.
- The topic ‘Question about a script and Jquery in general’ is closed to new replies.