-
Notifications
You must be signed in to change notification settings - Fork 3
/
test.html
36 lines (34 loc) · 1.3 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>test</title>
<link rel="stylesheet" href="css/moodatatable.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<script src="src/mootools-1.2-core-nc.js" type="text/javascript" charset="utf-8"></script>
<script src="src/mootools-1.2-more.js" type="text/javascript" charset="utf-8"></script>
<script src="src/moodatatable.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
window.addEvent('domready', function(){
myMooTable = new MooDataTable('myTable', {
headers: [
{id: "id", caption: "ID", sortable: true},
{id: "name", caption: "Name", sortable: true},
{id: "email", caption: "Email", sortable: false}
]
});
});
</script>
</head>
<body style="font-family: calibri, helvetica;">
<h2>MooDataTable Demo 1</h2>
<p>
A simple data table. It requests the data to a server-side script that returns a JSON set of data...
</p>
<div id="myTable" class="moo-table">
</div>
<p>
<a href="#" onclick="myMooTable.reloadActivePage(); return false;">Reload Current Page</a>
</p>
</body>
</html>