r24958: This is the final text, and the final version. I'll send the release
[jelmer/samba4-debian.git] / webapps / qooxdoo-0.6.5-sdk / frontend / application / sample / source / html / test / Atom_5.html
1 <html>
2 <head>
3   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4   <title>qooxdoo &raquo; Demo &raquo; Sample</title>
5   <link type="text/css" rel="stylesheet" href="../../css/layout.css"/>
6   <!--[if IE]>
7   <link type="text/css" rel="stylesheet" href="../../css/layout_ie.css"/>
8   <![endif]-->
9   <script type="text/javascript" src="../../script/sample.js"></script>
10 </head>
11 <body>
12   <script type="text/javascript" src="../../script/layout.js"></script>
13
14   <div id="demoDescription">
15     <p>Adding many qx.ui.basic.Atom widgets without setting the icon-width and -height.</p>
16   </div>
17
18   <script type="text/javascript">
19   qx.core.Init.getInstance().defineMain(function()
20   {
21     var d = qx.ui.core.ClientDocument.getInstance();
22
23     var atom;
24     var toppos = 48;
25
26     for (var i=0; i<20; i++)
27     {
28       for (var j=0; j<10; j++)
29       {
30         atom = new qx.ui.basic.Atom("Date", "icon/16/apps/accessories-date.png");
31
32         atom.setTop(toppos);
33         atom.setLeft(20 + (j*50));
34
35         d.add(atom);
36       };
37
38       toppos += 20;
39     };
40   });
41   </script>
42 </body>
43 </html>