r20446: rename swat directory to swat.obsolete; keeping it around since there is...
[samba.git] / swat.obsolete / apps / qooxdoo-examples / test / Atom_9.html
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>
13
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>
18
19   <script type="text/javascript">
20   qx.core.Init.getInstance().defineMain(function()
21   {
22     var d = qx.ui.core.ClientDocument.getInstance();
23
24     var atom;
25     var toppos = 48;
26
27     for (var i=0; i<20; i++)
28     {
29       for (var j=0; j<10; j++)
30       {
31         atom = new qx.ui.basic.Label("Date");
32
33         atom.setTop(toppos);
34         atom.setLeft(20 + (j*50));
35
36         d.add(atom);
37       };
38
39       toppos += 20;
40     };
41   });
42   </script>
43 </body>
44 </html>