examples/tabs/tabs-example.css.orig
authorAlan Knowles <alan@akbkhome.com>
Tue, 20 Dec 2011 02:47:47 +0000 (10:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 20 Dec 2011 02:47:47 +0000 (10:47 +0800)
Attribute Changed :examples/tabs/tabs-example.css.orig
MOVED examples/tabs/tabs.html to examples/tabs/tabs.html.orig
Attribute Changed :examples/tabs/tabs.html

examples/tabs/tabs-example.css.orig [new file with mode: 0644]
examples/tabs/tabs.html.orig [moved from examples/tabs/tabs.html with 97% similarity]

diff --git a/examples/tabs/tabs-example.css.orig b/examples/tabs/tabs-example.css.orig
new file mode 100644 (file)
index 0000000..8df122a
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * yui-ext
+ * Copyright(c) 2006, Jack Slocum.
+ */
+
+.list {list-style:square;width:500px;padding-left:16px;}
+.list li{padding:2px;font-size:8pt;}
+
+/* hide the tab content while loading */
+.tab-content{display:none;}
+
+pre {
+   font-size:11px; 
+}
+
+#tabs1 {width:400px;}
+#tabs1 .yui-ext-tabbody {border:1px solid #999;border-top:none;}
+#tabs1 .yui-ext-tabitembody {display:none;padding:10px;}
+
+#jtabs {width:600px;}
+#jtabs .yui-ext-tabbody {border:1px solid #999;border-top:none; height:200px;overflow:auto;}
+#jtabs .yui-ext-tabitembody {display:none;padding:10px;font-size:11px;}
+
+/* default loading indicator for ajax calls */
+.loading-indicator {
+       font-size:8pt;
+       background-image:url('../../resources/images/grid/loading.gif');
+       background-repeat: no-repeat;
+       background-position: left;
+       padding-left:20px;
+}
\ No newline at end of file
similarity index 97%
rename from examples/tabs/tabs.html
rename to examples/tabs/tabs.html.orig
index d68c69b..600e4e8 100644 (file)
@@ -1,74 +1,74 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
-<html>\r
-<head>\r
-    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
-    <title>Tabs Example</title>\r
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Tabs Example</title>
     <link rel="stylesheet" type="text/css" href="../../cssX/roojs-all.css"/>
     <link rel="stylesheet" type="text/css" href="../../cssX/xtheme-slate.css"/>
 
      <script type="text/javascript" src="../../roojs-all.js"></script>   
-     \r
\r
-\r
-    <!-- Tabs Example Files -->\r
-    <link rel="stylesheet" type="text/css" href="tabs-example.css" />\r
-    <script type="text/javascript" src="tabs-example.js"></script>\r
-\r
-    <!-- Common Styles for the examples -->\r
-    <link rel="stylesheet" type="text/css" href="../examples.css" />\r
-</head>\r
-<body>\r
-<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->\r
-\r
-<h1>Tab Panel Examples</h1>\r
-<p>Note that the js and css is not minified so it is readable. See <a href="tabs-example.js">tabs-example.js</a> for the tab creation code\r
-and <a href="tabs-example.css">tabs-example.css</a> for the css.</p>\r
-\r
-    <h3>Tabs without fixed height that resize to the content. Built from existing markup.</h3><br>\r
-    <!-- container for the existing markup tabs -->\r
-    <div id="tabs1">\r
-        <div id="script" class="tab-content">\r
-        <b>Here's my script:</b>\r
-\r
-<!-- pre sections lookup hideous -->\r
-<pre>\r
-var tabs = new Roo.TabPanel('tabs1');\r
-tabs.addTab('script', "View Script");\r
-tabs.addTab('markup', "View Markup");\r
-tabs.activate('script');</pre>\r
- <!-- end pre -->\r
-\r
-       </div>\r
-        <div id="markup" class="tab-content">\r
-\r
-<!-- pre sections lookup hideous -->\r
-<pre>\r
-&lt;div id="tabs1"&gt;\r
-    &lt;div id="script" class="tab-content"&gt;\r
-        (Content goes here)\r
-    &lt;/div&gt;\r
-    &lt;div id="markup" class="tab-content"&gt;\r
-        (Content goes here)\r
-    &lt;/div&gt;\r
-&lt;/div></pre>\r
-<!-- end pre -->\r
-\r
-        </div>\r
-    </div>\r
-\r
-    <br>\r
-     <h3>Tabs with fixed height that scroll the content. Built entirely with javascript.</h3>\r
-    <ul class="list">\r
-    <li>Tab 1 is a normal tab with content passed when adding it.</li>\r
-    <li>Tab 2 is loaded via Ajax. It was set up using the standard UpdateManager functionality. It reloads it's content every time it's activated.</li>\r
-    <li>Tab 3 is loaded via Ajax too. It was set up using setUrl() a convenience method that will do everything done on tab 2 and also has the ability to set it to load only once.</li>\r
-    <li>Tab 4 has an event listener attached.</li>\r
-    <li>Tab 5 is disabled.</li>\r
-    </ul><br>\r
-\r
-    <!-- container for the pure JS tabs -->\r
-    <div id="jtabs" class="xp">\r
-    </div>\r
-\r
-</body>\r
+     
+
+    <!-- Tabs Example Files -->
+    <link rel="stylesheet" type="text/css" href="tabs-example.css" />
+    <script type="text/javascript" src="tabs-example.js"></script>
+
+    <!-- Common Styles for the examples -->
+    <link rel="stylesheet" type="text/css" href="../examples.css" />
+</head>
+<body>
+<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
+
+<h1>Tab Panel Examples</h1>
+<p>Note that the js and css is not minified so it is readable. See <a href="tabs-example.js">tabs-example.js</a> for the tab creation code
+and <a href="tabs-example.css">tabs-example.css</a> for the css.</p>
+
+    <h3>Tabs without fixed height that resize to the content. Built from existing markup.</h3><br>
+    <!-- container for the existing markup tabs -->
+    <div id="tabs1">
+        <div id="script" class="tab-content">
+        <b>Here's my script:</b>
+
+<!-- pre sections lookup hideous -->
+<pre>
+var tabs = new Roo.TabPanel('tabs1');
+tabs.addTab('script', "View Script");
+tabs.addTab('markup', "View Markup");
+tabs.activate('script');</pre>
+ <!-- end pre -->
+
+       </div>
+        <div id="markup" class="tab-content">
+
+<!-- pre sections lookup hideous -->
+<pre>
+&lt;div id="tabs1"&gt;
+    &lt;div id="script" class="tab-content"&gt;
+        (Content goes here)
+    &lt;/div&gt;
+    &lt;div id="markup" class="tab-content"&gt;
+        (Content goes here)
+    &lt;/div&gt;
+&lt;/div></pre>
+<!-- end pre -->
+
+        </div>
+    </div>
+
+    <br>
+     <h3>Tabs with fixed height that scroll the content. Built entirely with javascript.</h3>
+    <ul class="list">
+    <li>Tab 1 is a normal tab with content passed when adding it.</li>
+    <li>Tab 2 is loaded via Ajax. It was set up using the standard UpdateManager functionality. It reloads it's content every time it's activated.</li>
+    <li>Tab 3 is loaded via Ajax too. It was set up using setUrl() a convenience method that will do everything done on tab 2 and also has the ability to set it to load only once.</li>
+    <li>Tab 4 has an event listener attached.</li>
+    <li>Tab 5 is disabled.</li>
+    </ul><br>
+
+    <!-- container for the pure JS tabs -->
+    <div id="jtabs" class="xp">
+    </div>
+
+</body>
 </html>
\ No newline at end of file