diff --git a/header.txt b/header.txt index 2a1e953..0fa1358 100644 --- a/header.txt +++ b/header.txt @@ -5,7 +5,7 @@
The body
element of this page has been given an HTML data attribute named data-ajax-text-files
that specifies the space-delimited paths to header.txt and footer.txt.
@@ -73,7 +73,7 @@
<body data-ajax-text-files="header.txt footer.txt"></body>
- Suitable container elements are each given a data attribute named data-ajax-text-file
that specifies one of the paths supplied to the data-ajax-text-files
attribute.
+ Suitable container elements have each been given a data attribute named data-ajax-text-file
that specifies the path to one of the files.
This indicates that the content of the file at the specified path should be appended to the inner HTML of the container element.
In this case, the header and footer are inserted into table
elements at the top and bottom of the page, respectively.
- When appropriate, the asynchronous function Ajax_Document_StartText()
is called with a callback function as its only argument.
- The asynchronous function
+ When appropriate, the asynchronous function Ajax_Document_StartText(<callback>)
is called.
+ This function
data-ajax-text-files
dynamically,
data-ajax-text-file
attribute, and
This framework can also be used to retrieve tags from XML files using the analogous data-ajax-xml-files
, data-ajax-xml-file
and data-ajax-xml-tag
attributes, and the asynchronous Ajax_Document_StartXml()
function.
+ Find out more here.