About jQuery
jQuery is a Javascript meta-language that makes it easy to apply scripts to web pages. jQuery can be downloaded from jQuery.com and is also open source software.
The ClassBehaviours library is a collection of plugins for jQuery that expand on its functionality with easy to implement examples of often used DHTML effects.
How ClassBehaviours Expand the jQuery Object
-
jQuery
-
jQuery.fn
- jQuery.fn.animatedClassName
- jQuery.fn.artificialScrollBbar
- jQuery.fn.autoSizeFromIframe
- etc.
The individual ClassBehaviour scripts add themselves here for use in the jQuery syntax.
-
jQuery.classBehaviours
-
jQuery.classBehaviours.ajax
A custom AJAX HTTP-request object with queueing and virtual events handler.
-
jQuery.classBehaviours.console
A simple debugging console to output classBehaviour related messages in a non-intrusive way.
-
jQuery.classBehaviours.cookies
An object to standardize the handling of cookies within ClassBehaviours.
-
jQuery.classBehaviours.fader
A collection of reusable fades and whipes with virtual event handlers.
-
jQuery.classBehaviours.utilities
Generic functions that compliment the XML DOM.
-
jQuery.classBehaviours.parser
An object vital to ClassBehaviours, that facilitates the efficient parsing of HTML documents for class-names.
-
jQuery.classBehaviours.handlers
- jQuery.classBehaviours.handlers.animatedClassName
- jQuery.classBehaviours.handlers.artificialScrollBbar
- jQuery.classBehaviours.handlers.autoSizeFromIframe
- etc.
The individual ClassBehaviour scripts add themselves to this object for interoperability within ClassBehaviours.
-
jQuery.classBehaviours.ajax
-
jQuery.fn
No Scripting Required
All classBehaviour scripts forsee in their own functionality by default, parsing the page for targetted class-names. For example; just adding the ClassBehaviour "jquery.classbehaviours.openlayerpopup.js" to the document would cause the script to manifest itsself like this:
$(".openLayerPopUp").openLayerPopUp();
This does not have to be scripted manually by the user of ClassBehaviours.
Comments on this Article