Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

JQuery: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 17: Line 17:
'''jQuery.js''' file contains the whole script of the main library. This file is registered in PageBase, which means it is available for all pages in CatGlobe. In addition, it is ready to be used when writing scripts for questionnaires as well.
'''jQuery.js''' file contains the whole script of the main library. This file is registered in PageBase, which means it is available for all pages in CatGlobe. In addition, it is ready to be used when writing scripts for questionnaires as well.


=== jquery-vsdoc2.js ===
=== jquery-vsdoc2.js ===


This file is used to support full intellisence for jQuery in Visual Studio.
This file is used to support full intellisence for jQuery in Visual Studio. In order to use the intellisense feature in a '''''js file''''', a reference to the '''jquery-vsdoc''' file must be added to the script file like in the image below:


   
[[Image:JQueryInCG Intellisense.png]] 


 
- TODO: research how to make a js template which automatically adds the reference directive to newly added javascript files.


== Upgrade guideline  ==
== Upgrade guideline  ==

Revision as of 07:58, 2 March 2010

Introduction

We are using jQuery which is a JavaScript API also known as a AJAX framework. For the full documentation please visit jQuery's homepage http://www.jquery.com

jQuery usages in CatGlobe

The following jQuery components are used in CatGlobe:

 

Version

Current version: jQuery 1.3.2 and jQuery UI 1.7.2 for version 5.8++.

jQuery

jQuery.js file contains the whole script of the main library. This file is registered in PageBase, which means it is available for all pages in CatGlobe. In addition, it is ready to be used when writing scripts for questionnaires as well.

jquery-vsdoc2.js

This file is used to support full intellisence for jQuery in Visual Studio. In order to use the intellisense feature in a js file, a reference to the jquery-vsdoc file must be added to the script file like in the image below:

 

- TODO: research how to make a js template which automatically adds the reference directive to newly added javascript files.

Upgrade guideline

Technical topics