diff options
Diffstat (limited to 'swat/apps/qooxdoo-examples/test/Node_1.html')
-rw-r--r-- | swat/apps/qooxdoo-examples/test/Node_1.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/swat/apps/qooxdoo-examples/test/Node_1.html b/swat/apps/qooxdoo-examples/test/Node_1.html new file mode 100644 index 0000000000..8fed535e7e --- /dev/null +++ b/swat/apps/qooxdoo-examples/test/Node_1.html @@ -0,0 +1,39 @@ +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>qooxdoo » Demo</title> + <link type="text/css" rel="stylesheet" href="../../resource/css/layout.css"/> + <!--[if IE]> + <link type="text/css" rel="stylesheet" href="../../resource/css/layout_ie.css"/> + <![endif]--> + <script type="text/javascript" src="../../script/qx.js"></script> +</head> +<body> + <script type="text/javascript" src="../../script/layout.js"></script> + + <div id="demoDescription"> + <p>qx.ui.embed.NodeEmbed makes a dom node a widget.</p> + </div> + + <div id="text1" style="display:none">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero et accumsan et iusto odio dignissim qui <strong>qooxdoo</strong> blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.</div> + + <script type="text/javascript"> + qx.core.Init.getInstance().defineMain(function() + { + var d = qx.ui.core.ClientDocument.getInstance(); + + var n = new qx.ui.embed.NodeEmbed("text1"); + + n.setLocation(20, 48); + n.setRight(335); + n.setBottom(48); + n.setBorder(qx.renderer.border.BorderPresets.getInstance().outset); + n.setBackgroundColor("white"); + n.setColor("blue"); + n.setPadding(10); + + d.add(n); + }); + </script> +</body> +</html>
\ No newline at end of file |