Loader documentation

Loader loads content from a remote page into an element when a link is activated.

Example

Load page

Awaiting content...

<p><a class="loader targetEl-loaderdiv targetPage-/docs/time" href="#">Load page</a></p>
<p id="loaderdiv">Awaiting content...</p>

Settings

Valid elements

a elements (links)

Classname

loader

Attributes

None

CSS parameters (what's this?)

targetEl (required)
Must be set as the id of the element to put the content in
targetPage (required)
Must be set as the URI of the remote page to fetch content from