Working examples

This is not a Government of Canada website

The purpose of this website is to provide a working example of the WET-BOEW-Moodle theme created by TNG Consulting Inc. together with the Government of Canada. Demo courses are only available in English however multi-language courses are supported.

Ajax

Style guide information

Insert content after an element (data-ajax-after)

Hello World

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Hello World - Part 2

Different example text. Different example text. Different example text. Different example text. Different example text. Different example text.

Append content to an element (data-ajax-append)

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Different example text. Different example text. Different example text. Different example text. Different example text. Different example text.

Insert content before an element (data-ajax-before)

Hello World

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Hello World - Part 2

Different example text. Different example text. Different example text. Different example text. Different example text. Different example text.

Prepend content to an element (data-ajax-prepend)

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Different example text. Different example text. Different example text. Different example text. Different example text. Different example text.

Replaces an element (data-ajax-replace)

Hello World

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Hello World - Part 2

Different example text. Different example text. Different example text. Different example text. Different example text. Different example text.

Filtering the content by the URL hash (ajax/data-ajax-extra-en.html#filter-id, v4.0.12+)

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Filtering the content by a selector (ajax/data-ajax-extra-en.html .filter-selector, v4.0.12+)

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Alternative syntax

Hello World

Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text. Example text.

Last modified: Wednesday, 11 December 2019, 2:55 PM
Date modified: