Hello, I noticed that jQuery is included in the MT build, and would like to access it.
If possible, i would like to keep my scripts in a separate file, but since I have not had experience writing javascript within MT, I am not sure where I should place the files.
I also need to know which files I should edit to point to the javascript file I will create (as well as pointing to the jQuery library).
I am going to start with using jQuery for CSS manipulation, keeping it simple. Any help is greatly appreciated. Thank you.
-Courtney
Reported on Movable Type 4.3
Are you talking about using jQuery inside the admin console on our your site?
I'd like to use jQuery throughout the site, for javascript and CSS.
Then just add this (tweak as necessary) to the Header module in your templates:
<script type="text/javascript" src="<$mt:StaticWebPath$>jquery/jquery.js"></script>
Alternatively, you could load jQuery from Google and save some bandwidth:
http://code.google.com/apis/ajaxlibs/
Thank you for the clarification, It is very helpful while I learn the MT markup language.