blob: 926784694189e81ef1769e06d8fcf556d77e8913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html>
<head><title>Address Book Using Jstemplates</title>
<script src="../util.js" type="text/javascript"></script>
<script src="../jsevalcontext.js" type="text/javascript"></script>
<script src="../jstemplate.js" type="text/javascript"></script>
<script type="text/javascript">
function jsinit() {
var mydata = {end: 'Bar'};
var context = new JsEvalContext(mydata);
var template = document.getElementById('out');
jstProcess(context, template);
}
</script>
<link rel="stylesheet" type="text/css" href="css/maps2.deb.css"/>
</head>
<body onload="jsinit()">
<div id="out">
<div id="Food" jsvalues=".id:'Joe';.style.fontSize:'30pt'" jscontent="this.parentNode.id + this.id + $this.end"></div>
</div>
</body>
</html>
|