How to integrate jQuery

  • Published: September 12, 2008
  • |
  • Updated: February 20, 2009
  • |
  • Version: 8
 Summary

As the use of jQuery becomes more and more popular, you may find yourself wanting to integrate jQuery scripting into your Titan CMS content managed web site. This article describes the basic configuration steps to get you started on the path of integrating jQuery.

 Background

jQuery is a JavaScript Library that provides website developers and designers a simplified coding syntax for implementing animation, event handling, and Ajax interactions. jQuery is well known for its cross-browser compliance, lightweight footprint, and ability to develop animations and rich CSS3 styling.

Note: This article does not cover how to write jQuery code for manipulating HTML or adding animations. It is intended only to show how to integrate the required jQuery libraries into the framework of your site. If you need more information on writing jQuery code, utilize the various tutorials, as well as the API search, on the jQuery website (www.jquery.com).

 Instructions

Configure Source Library

The Titan Administration module gives you the flexibility to specify code snippets that can be placed in the HEAD section of your pages. In order to run the jQuery scripts you will write, first integrate the jQuery Source Library on your pages by making a configuration change in Titan Administration.

  1. Login to your Titan CMS Workstation as a webmaster or administrative user.
  2. Switch to the Titan Administration module.
  3. Using the Download Files button, upload the jQuery JavaScript library into the CommonScripts folder.
  4. Go to the configuration screen for the Page Layouts in your specific Globe under the Content Sites node. 
  5. Add a SCRIPT reference in the Post-Titan Metatags/Code Snippets textarea that points to the jQuery JavaScript library you uploaded to CommonScripts. If you use the "minified" version (see References for download details), the script reference should be something like the following:

    <SCRIPT src="/CommonScripts/jquery-1.2.6.min.js" type="text/javascript"></SCRIPT>
     
  6. Save the Page Layout changes and Refresh Site State.
     

Write Your Custom jQuery Script

Once the primary jQuery Library is included as a global script, you can begin writing your own custom jQuery script code. Store your code in external JavaScript files, and integrate these additional source scripts on a page layout, in the same way described above for the Source Library.

 References

Download the jQuery Library.
http://docs.jquery.com/Downloading_jQuery

 

Article Rating

Average Review:
 1.0of 10
Number of Reviews:
1
 

Article Feedback

The following required items were not provided or are in the wrong format. Please provide the required responses and submit again:

How helpful was the content of this article?

Very
10
 
9
 
8
 
7
 
6
 
5
 
4
 
3
 
2
Not
1

Additional Comments:
 500 characters left

Your comment is too long.

To protect your privacy, do not include contact information in your comments.

 

Get Answers

Titan CMS Support

(414) 434-8300
  Submit Questions
 

Northwoods Software

p: (414) 434-8200
f: (414) 434-8299
  Email Us