r20517: re-add cleaned-up webapps
[sfrench/samba-autobuild/.git] / webapps / qooxdoo-0.6.3-sdk / frontend / demo / source / html / test / ToolBar_3.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     <p>Testing the new flash support for qx.ui.toolbar.ToolBarButtons (inherited from qx.ui.basic.Atom).</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 tb = new qx.ui.toolbar.ToolBar;
24       
25       tb.setTop(48);
26       tb.setLeft(20);
27       tb.setRight(335);
28       
29       d.add(tb);
30       
31       for (var i=1; i<8; i++)
32       {
33         var tbb = new qx.ui.toolbar.Button("Flash #" + i, "icon/22/reload.png", 22, 22, "./image/flash/color/file" + i + ".swf");        
34         tb.add(tbb);
35       };    
36     });
37   </script>
38 </body>
39 </html>