Homepage: http://foswiki.org/Extensions/JQueryPlugin
Author(s): Michael Daum
Version: 3.01
This plugin allows to delay rendering parts of a page that are loaded later on asynchronously
and patched into the page.
Add the %JQREQUIRE{"loader"}% macro to the page that you want to use this module on.
Then add the jqLoader css class to the div (or verbatim) element which will serve as
a container for the content to be loaded. Any jqLoader container requires either
an url or a section parameter to specify the location from where to load the content.
Parameter are specified using HTML5 data, as in
jQuery selector to extract a specific node from the retrieved data
params
url parameter that are sent to the server
{"skin":"text"}
mode
specify whether the content is either loaded automatically or by clicking on the container; possible values: auto, manual
auto
placeholder
the image to be displayed as long as the content hasn't been loaded
show-effect
the effect used when showing the loaded content; possible values are listed in J Query Animate
fadeIn
hide-effect
the effect when hiding the loaded content; possible values are listed in J Query Animate
fadeOut
delay
additional time in miliseconds to delay fetching the content from the content; specifying 0 means load the content immediately; any other value will wait that time until issuing the request
0
onload
a JavaScript function called when the content has been loaded
beforeload
a JavaScript function called before the content is requested
finished
a JavaScript function called when the content has been loaded and displayed on the page
The jqLoader element is able to receive JavaScript events and process them accordingly. Similarly these
events can be used to hook your own callbacks to be processed when they are fired.