diff options
author | Derrell Lipman <derrell@samba.org> | 2007-02-14 04:19:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:12 -0500 |
commit | b79bf0623235672684d7dd79dd7a6b202adfb35f (patch) | |
tree | 3154a686d000b754eb8ff63c25b29d879f8b48e9 /webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Menu_1.html | |
parent | ecfbc670c2a641b1f18155af0ed9a6e49278185a (diff) | |
download | samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.tar.gz samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.tar.bz2 samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.zip |
r21326: get rid of old qooxdoo version.
(This used to be commit 39a4803ad1046e2473bdc7b22321a5f61ae3a1ea)
Diffstat (limited to 'webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Menu_1.html')
-rw-r--r-- | webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Menu_1.html | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Menu_1.html b/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Menu_1.html deleted file mode 100644 index 87791f948d..0000000000 --- a/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Menu_1.html +++ /dev/null @@ -1,129 +0,0 @@ -<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.menu.Menu Implementation</p> - </div> - - <script type="text/javascript"> - qx.core.Init.getInstance().defineMain(function() - { - var d = qx.ui.core.ClientDocument.getInstance(); - - - var m2 = new qx.ui.menu.Menu; - - var mb2_01 = new qx.ui.menu.Button("New Window"); - var mb2_02 = new qx.ui.menu.Button("Overlapping"); - var mb2_03 = new qx.ui.menu.Button("Split Vertical"); - var mb2_04 = new qx.ui.menu.Button("Split Horizontal"); - var mb2_05 = new qx.ui.menu.Button("Next Window"); - var mb2_06 = new qx.ui.menu.Button("Previous Window"); - - m2.add(mb2_01, mb2_02, mb2_03, mb2_04, mb2_05, mb2_06); - - - - - var m3 = new qx.ui.menu.Menu; - - var mb3_01 = new qx.ui.menu.Button("Tahoma, 11pt"); - var mb3_02 = new qx.ui.menu.Button("Tahoma, 12pt"); - var mb3_03 = new qx.ui.menu.Button("Tahoma, 13pt"); - var mb3_04 = new qx.ui.menu.Button("Tahoma, 14pt"); - var mb3_05 = new qx.ui.menu.Button("Tahoma, 15pt"); - - m3.add(mb3_01, mb3_02, mb3_03, mb3_04, mb3_05); - - - - var m1 = new qx.ui.menu.Menu; - - var mb1_01 = new qx.ui.menu.Button("View/Lists"); - var mb1_02 = new qx.ui.menu.Button("Syntax Highlighting"); - var ms1 = new qx.ui.menu.Separator(); - var mb1_03 = new qx.ui.menu.Button("Window Font"); - var mb1_04 = new qx.ui.menu.Button("Printer Font", null, null, m3); - var ms2 = new qx.ui.menu.Separator(); - var mb1_05 = new qx.ui.menu.Button("Undo"); - var mb1_06 = new qx.ui.menu.Button("Redo"); - var ms3 = new qx.ui.menu.Separator(); - var mb1_07 = new qx.ui.menu.Button("Cut", "icon/16/edit-cut.png"); - var mb1_08 = new qx.ui.menu.Button("Copy", "icon/16/edit-copy.png"); - var mb1_09 = new qx.ui.menu.Button("Paste", "icon/16/edit-paste.png"); - var mb1_10 = new qx.ui.menu.Button("Delete", "icon/16/edit-delete.png"); - var mb1_11 = new qx.ui.menu.Button("Select All"); - var ms4 = new qx.ui.menu.Separator(); - var mb1_12 = new qx.ui.menu.Button("Search"); - var mb1_13 = new qx.ui.menu.Button("Search Again"); - var ms5 = new qx.ui.menu.Separator(); - var mb1_14 = new qx.ui.menu.Button("View", null, null, m2); - var mb1_15 = new qx.ui.menu.Button("Editor Settings..."); - var mb1_16 = new qx.ui.menu.Button("Editor Plugins"); - var mb1_17 = new qx.ui.menu.Button("Framework Settings"); - - m1.add(mb1_01, mb1_02, ms1, mb1_03, mb1_04, ms2, mb1_05, mb1_06, ms3, mb1_07, mb1_08, mb1_09, mb1_10, mb1_11, ms4, mb1_12, mb1_13, ms5, mb1_14, mb1_15, mb1_16, mb1_17); - - - d.add(m1, m2, m3); - - - - - - var w1 = new qx.ui.form.Button("Open"); - - w1.setTop(48); - w1.setLeft(20); - - w1.addEventListener("click", function(e) - { - if (m1.isSeeable()) - { - m1.hide(); - } - else - { - var el = this.getElement(); - - m1.setLeft(qx.dom.Location.getPageBoxLeft(el)); - m1.setTop(qx.dom.Location.getPageBoxBottom(el)); - - m1.show(); - }; - - e.setPropagationStopped(true); - }); - - w1.addEventListener("mousedown", function(e) - { - e.setPropagationStopped(true); - }); - - - d.add(w1); - - - - - - // Icon Themes - qx.manager.object.ImageManager.getInstance().createThemeList(d, 180, 48); - - // Color Themes - qx.manager.object.ColorManager.getInstance().createThemeList(d, 380, 48); - - }); - </script> -</body> -</html> |