r19141: add a reasonable subset of the qooxdoo runtime environment, and example appli...
[Samba/ekacnet.git] / swat / apps / qooxdoo-examples / test / Atom_9.html
blob563816f7b29ed2d9a99684cc491a7821b650a104
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>qooxdoo &raquo; Demo</title>
5 <link type="text/css" rel="stylesheet" href="../../resource/css/layout.css"/>
6 <!--[if IE]>
7 <link type="text/css" rel="stylesheet" href="../../resource/css/layout_ie.css"/>
8 <![endif]-->
9 <script type="text/javascript" src="../../script/qx.js"></script>
10 </head>
11 <body>
12 <script type="text/javascript" src="../../script/layout.js"></script>
14 <div id="demoDescription">
15 This uses qx.ui.basic.Label instead of qx.ui.basic.Atom for text only display. Stored as Atom test file
16 because this way we could compare it to the previous test file.
17 </div>
19 <script type="text/javascript">
20 qx.core.Init.getInstance().defineMain(function()
22 var d = qx.ui.core.ClientDocument.getInstance();
24 var atom;
25 var toppos = 48;
27 for (var i=0; i<20; i++)
29 for (var j=0; j<10; j++)
31 atom = new qx.ui.basic.Label("Date");
33 atom.setTop(toppos);
34 atom.setLeft(20 + (j*50));
36 d.add(atom);
39 toppos += 20;
41 });
42 </script>
43 </body>
44 </html>