Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2150 mathias 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
	"http://www.w3.org/TR/html4/strict.dtd">
3
<html>
4
<head>
5
	<title>widget infrastructure test</title>
6
 
7
	<script type="text/javascript" src="../../dojo/dojo.js"
8
		djConfig="isDebug: true, debugAtAllCosts: true"></script>
9
 
10
	<script type="text/javascript">
11
		dojo.require("dijit.form.Button");
12
	</script>
13
 
14
	<style type="text/css">
15
 
16
		@import "../../dojo/resources/dojo.css";
17
		@import "../themes/tundra/tundra.css";
18
		@import "css/dijitTests.css";
19
 
20
		body { padding: 5em; }
21
	</style>
22
</head>
23
 
24
<body class="tundra">
25
 
26
	<button id="b1" style="background: yellow;">button #1</button>
27
	<button id="b2" style="background: orange;">button #2</button>
28
	<button id="b3" style="background: violet;">button #3</button>
29
	<script>
30
		for(var i=1; i<=3; i++){
31
			var node = dojo.byId("b"+i);
32
			var myButton = new dijit.form.Button(null, node);
33
		}
34
	</script>
35
 
36
</body>
37
</html>