You can link to our courses on your own website.
Therefore we created a widget-code, that you can easily insert to your website.
Just follow the instruction:
Add the following code to the head-area of the website:
With the language parameter you define the language of the widget. Possible values are “en” or “de”.
Insert HTML-Code, where the widget should appear:
The value of the attribute id will be used later. It is possibe to insert several widgets per site. The id of the area needs to start with a letter and needs to be unique, e.g. “vademecum1”, “kungFuFit1”, etc.
Add Javascript-Code somewhere on the site:
Add the following Javascript-Code somewhere on the site, e.g. below or even inside the DIV-element (see above).
Please notice:
Javascript-Code needs to be inserted into a script-tag.
box = new vademecum_widget();
box.build('[layout]', '[course]', '[ID of the content]','[theme]');
Layout:
- “large-1”, “large-2”, “large-3”
- “small-1”, “small-2″, small-3”
When the field layout is empty (“”), merely the Vade Mecum brand will be displayed.
Course:
Our course-program continuously grows. Examples:
- “Wing Chun Kyun Set 01”, “Wing Chun Kyun Set 02”, etc.
- “Kung Fu Fit”
- “Muk Jan Zong”
- etc.
ID of the content:
This value needs to be identical to the used value of the div-element, e.g. “vademecum1”.
Theme:
At the moment there are several themes available:
- light
- dark
Example 1:
Result:
Theme light:
Theme dark:
Example 2:
. . .