... | ... | @@ -5,6 +5,23 @@ WikiWFS |
|
|
[ajaxTemplates](ajaxTemplates)\
|
|
|
[ajaxMaps](ajaxMaps)
|
|
|
|
|
|
ajaxPages contain any of the following JavaScript modules:
|
|
|
- ajaxMenu
|
|
|
- ajaxTable
|
|
|
- ajaxTemplate
|
|
|
- ajaxMap
|
|
|
|
|
|
|
|
|
After loading the JavaScript module each module can be assigned to an HTML element:
|
|
|
```
|
|
|
<script>
|
|
|
|
|
|
</script>
|
|
|
```
|
|
|
<div data-ajax="menu"></div>
|
|
|
<div data-ajax="map"></div>
|
|
|
<div data-ajax="template"></div>
|
|
|
<table data-ajax="table"></table>
|
|
|
|
|
|
**parentElements:**\
|
|
|
An element becomes a parentElement if there is one or more childElements with the data-parentId attribute set to the element.id of the parentElement.
|
... | ... | |