forked from edmunds/edmunds-javascript-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
23 lines (23 loc) · 703 Bytes
/
example.html
File metadata and controls
23 lines (23 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Edmunds JavaScript Loader in Action</title>
<script src="setup.js"></script>
</head>
<body>
<div id="sample"></div>
<script>
PAGESETUP.addControl(function() {
document.getElementById('sample').innerHTML += 'Hello world 1<br /><br />';
}, 'low');
PAGESETUP.addControl(function() {
document.getElementById('sample').innerHTML += 'Hello world 2<br /><br />';
});
PAGESETUP.addControl(function() {
document.getElementById('sample').innerHTML += 'Hello world 3<br /><br />';
}, 'high');
</script>
<script src="loader.js"></script>
</body>
</html>