31 lines
681 B
HTML
31 lines
681 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3c.org/1999/xhtml">
|
|
<head>
|
|
<title>wontofor test 1</title>
|
|
<style type='text/css'>
|
|
|
|
</style>
|
|
<script type='text/javascript' src='wontofor.js'></script>
|
|
<script type='text/javascript'>
|
|
function go_on() {
|
|
w.html.setTitle('Testing...')
|
|
w.ajax.getWeb('material/alice.txt', function(txt) {
|
|
par = w.html.create('p')
|
|
par.setText(txt)
|
|
w.html.body.append(par)
|
|
})
|
|
}
|
|
|
|
window.onload = function() {
|
|
w = wontofor
|
|
w.setInclusionPath('parts')
|
|
w.include('ajax', 'html', go_on)
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
</body>
|
|
</html>
|