From d1e09e2e6f9db62bbab84abb53e23ee73764178a Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Sun, 31 Dec 2006 20:12:12 +0000 Subject: r20446: rename swat directory to swat.obsolete; keeping it around since there is lots of useful info in it. (This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b) --- swat/apps/script/layout.js | 124 --------------------------------------------- 1 file changed, 124 deletions(-) delete mode 100644 swat/apps/script/layout.js (limited to 'swat/apps/script/layout.js') diff --git a/swat/apps/script/layout.js b/swat/apps/script/layout.js deleted file mode 100644 index 1173b676ca..0000000000 --- a/swat/apps/script/layout.js +++ /dev/null @@ -1,124 +0,0 @@ -(function() -{ - var pos = Number(window.location.href.substring(window.location.href.lastIndexOf("/")+1, window.location.href.length-5)); - var tnpos = pos + 1; - var tppos = pos - 1; - - if (tnpos < 10) - tnpos = String("000" + tnpos) - else if (tnpos < 100) - tnpos = String("00" + tnpos) - else if (tnpos < 1000) - tnpos = String("0" + tnpos) - else - tnpos = String(tnpos) - - if (tppos < 10) - tppos = String("000" + tppos) - else if (tppos < 100) - tppos = String("00" + tppos) - else if (tppos < 1000) - tppos = String("0" + tppos) - else - tppos = String(tppos) - - - document.write('
qooxdoo: The new era of web development
'); - document.write('
'); - - if( /\/showcase\//.test(window.location.href) ) { - document.write('Selected: Showcase | '); - document.write('[Back to overview]  '); - } else if( /\/example\//.test(window.location.href) ) { - document.write('Selected: Example | '); - document.write('[Back to overview]  '); - } else if( /\/performance\//.test(window.location.href) ) { - document.write('Selected: Performance | '); - document.write('[Back to overview]  '); - } else { - document.write('Selected: Test | '); - document.write('[Back to overview]  '); - }; - - document.write('[Global Pollution]  '); - document.write('[Object Summary]  '); - - document.write('
'); - document.write('
'); - document.write('
 
'); - - qx.dev.log.Logger.ROOT_LOGGER.removeAllAppenders(); - qx.dev.log.Logger.ROOT_LOGGER.addAppender(new qx.dev.log.DivAppender("demoDebug")); - - function showTestFiles() - { - var str = ""; - if( window.location.href.search(/\/showcase\//)+1 ) { - str = showstr; - } - else if( window.location.href.search(/\/example\//)+1 ) { - str = exastr; - } - else if( window.location.href.search(/\/performance\//)+1 ) { - str = perfstr; - } - else if( window.location.href.search(/\/test\//)+1 ) { - str = teststr; - } - - var arr = str.split(" "); - var p = window.location.pathname.replace(/\\/g, "/"); - var sel = -1; - - document.writeln(''); - - if (sel != -1) - { - document.writeln('
'); - - if (sel > 1) { - document.writeln(""); - } - - if (sel < arr.length-1) { - document.writeln(""); - } - - document.writeln('
'); - }; - } - - var url = location.href; - var pos = url.indexOf("/html/")+6; - var split = url.substring(pos).split("/"); - var category = split[0]; - category = category.charAt(0).toUpperCase() + category.substring(1); - var pagename = split[1].replace(".html", "").replace(/_/g, " "); - pagename = pagename.charAt(0).toUpperCase() + pagename.substring(1); - - document.title = "qooxdoo » Demo » " + category + " » " + pagename; - - if (window.location.href.indexOf("demo.qooxdoo.org") != -1) - { - document.write(''); - document.write(''); - document.write(''); - document.write(''); - } -//})(); -var showstr = " Showcase_1.html"; -var exastr = " Atom_1.html Atom_2.html Atom_3.html Button_1.html ButtonView_1.html ButtonView_2.html CheckBox_1.html ColorPopup_1.html ColorSelector_1.html ColorSelector_2.html ComboBox_1.html DateChooser_1.html Drag_1.html Fields_1.html Flash_1.html Gallery_1.html GalleryList_1.html GroupBox_1.html GroupBox_2.html GroupBox_3.html Iframe_1.html Inline_1.html List_1.html ListView_1.html ListView_2.html ListView_3.html ListView_4.html Menu_1.html NativeWindow_1.html RadioButton_1.html RepeatButton_1.html RpcTreeFullControl_1.html Spinner_1.html SplitPane_1.html SplitPane_2.html Table_1.html TabView_1.html TabView_2.html ToolBar_1.html ToolBar_2.html ToolBar_3.html ToolBar_4.html ToolTip_1.html Tree_1.html TreeFullControl_1.html TreeFullControl_2.html TreeFullControl_3.html TreeFullControl_4.html TreeFullControl_5.html Window_1.html"; -var perfstr = " ArrayCreate_1.html ArrayCreate_2.html GlobalObject_1.html GlobalObject_2.html GlobalObject_3.html GlobalObject_4.html LocalObject_1.html LocalObject_2.html LocalObject_3.html LocalObject_4.html LocalObject_5.html NumberCreate_1.html ObjectCreate_1.html ObjectCreate_2.html ObjectLevel_1.html ObjectLevel_2.html ObjectLevel_3.html ObjectSize_1.html Qooxdoo_1.html StringConcat_1.html StringConcat_2.html StringConcat_3.html TypeCheck_1.html"; -var teststr = " Atom_1.html Atom_2.html Atom_3.html Atom_4.html Atom_5.html Atom_6.html Atom_7.html Atom_8.html Atom_9.html Border_1.html BoxLayout_1.html BoxLayout_2.html Builder_1.html Builder_2.html Builder_3.html Builder_4.html Button_1.html CanvasLayout_1.html CanvasLayout_2.html CanvasLayout_3.html CanvasLayout_4.html CanvasLayout_5.html Clipping_1.html Clone_1.html Clone_2.html ColorTheme_1.html ColorTheme_2.html ColorTheme_3.html ComboBox_1.html ComboBox_2.html ComboBox_3.html Compile_1.html Compile_2.html Cookie_1.html CookieStorage_1.html CookieStorage_2.html CrossBrowser_1.html CrossBrowser_2.html DockLayout_1.html DockLayout_2.html DockLayout_3.html DockLayout_4.html DockLayout_5.html DockLayout_6.html DragAndDropManager_1.html DragAndDropManager_2.html EnabledDisabled_1.html Fields_1.html FieldSet_1.html FlowLayout_1.html FlowLayout_2.html FlowLayout_3.html FocusManager_1.html Font_1.html FormUtils_1.html Gallery_2.html Gallery_3.html Generate_1.html GridLayout_10.html GridLayout_11.html GridLayout_1.html GridLayout_2.html GridLayout_3.html GridLayout_4.html GridLayout_5.html GridLayout_6.html GridLayout_7.html GridLayout_8.html GridLayout_9.html HorizontalBoxLayout_1.html HorizontalBoxLayout_2.html HorizontalBoxLayout_3.html HtmlTable_1.html HtmlTable_2.html IconHtml_1.html Image_1.html Image_2.html Image_3.html Image_4.html Label_1.html Label_2.html Label_3.html Label_4.html Leak_1.html Link_1.html List_1.html List_2.html List_3.html ListView_10.html ListView_1.html ListView_2.html ListView_3.html ListView_4.html ListView_5.html ListView_6.html ListView_7.html ListView_8.html ListView_9.html Menu_1.html Menu_2.html Node_1.html Pollution_1.html Popups_1.html Popups_2.html RPC_1.html RPC_2.html RPC_3.html RPC_4.html RPC_5.html SplitPane_1.html Table_1.html Table_2.html Table_3.html Table_4.html Table_5.html Table_6.html ToolBar_1.html ToolBar_2.html ToolBar_3.html ToolBar_4.html Transport_1.html Transport_2.html Transport_3.html Transport_4.html Transport_5.html Transport_6.html Tree_1.html Tree_2.html Tree_3.html Tree_4.html Tree_5.html Tree_6.html Tree_7.html Umlauts_1.html VerticalBoxLayout_1.html VerticalBoxLayout_2.html VerticalBoxLayout_3.html Window_1.html Window_2.html Window_3.html Window_4.html Window_5.html Window_6.html"; -showTestFiles(); -})(); -- cgit