1fbf822822614fd45b3b76345e00d40e8f5459b4
[samba.git] / swat / apps / qooxdoo-examples / example / ColorSelector_2.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>Test for qx.ui.component.ColorSelector.</p>
16     <p>Adding a default/previous/old color value to compare it with the new selection.</p>
17   </div>
18
19   <script type="text/javascript">
20   qx.core.Init.getInstance().defineMain(function()
21   {
22     var mycolor = new qx.ui.component.ColorSelector(130, 180, 100);
23
24     mycolor.setLocation(50, 50);
25
26     qx.ui.core.ClientDocument.getInstance().add(mycolor);
27   });
28   </script>
29 </body>
30 </html>