A lot of projects ported from the old metanohi site.
This commit is contained in:
30
site/projects/wontofor/test1.html
Normal file
30
site/projects/wontofor/test1.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user