<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2/3/2015 8:43 PM, Aline Manera
wrote:<br>
</div>
<blockquote cite="mid:54D0C25A.3070902@linux.vnet.ibm.com"
type="cite">
<br>
On 30/01/2015 08:19, <a class="moz-txt-link-abbreviated" href="mailto:huoyuxin@linux.vnet.ibm.com">huoyuxin@linux.vnet.ibm.com</a> wrote:
<br>
<blockquote type="cite">From: Yu Xin Huo
<a class="moz-txt-link-rfc2396E" href="mailto:huoyuxin@linux.vnet.ibm.com"><huoyuxin@linux.vnet.ibm.com></a>
<br>
<br>
Signed-off-by: Yu Xin Huo <a class="moz-txt-link-rfc2396E" href="mailto:huoyuxin@linux.vnet.ibm.com"><huoyuxin@linux.vnet.ibm.com></a>
<br>
---
<br>
ui/js/widgets/samples/tabs.html | 72
+++++++++++++++++++++++++++++++++++++++
<br>
1 files changed, 72 insertions(+), 0 deletions(-)
<br>
create mode 100644 ui/js/widgets/samples/tabs.html
<br>
<br>
diff --git a/ui/js/widgets/samples/tabs.html
b/ui/js/widgets/samples/tabs.html
<br>
new file mode 100644
<br>
index 0000000..0554974
<br>
--- /dev/null
<br>
+++ b/ui/js/widgets/samples/tabs.html
<br>
@@ -0,0 +1,72 @@
<br>
+<!--
<br>
+ *
<br>
+ * Project Kimchi
<br>
+ *
<br>
+ * Copyright IBM, Corp. 2015
<br>
+ *
<br>
+ * Licensed under the Apache License, Version 2.0 (the
"License");
<br>
+ * you may not use this file except in compliance with the
License.
<br>
+ * You may obtain a copy of the License at
<br>
+ *
<br>
+ * <a class="moz-txt-link-freetext" href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>
<br>
+ *
<br>
+ * Unless required by applicable law or agreed to in writing,
software
<br>
+ * distributed under the License is distributed on an "AS IS"
BASIS,
<br>
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
<br>
+ * See the License for the specific language governing
permissions and
<br>
+ * limitations under the License.
<br>
+ *
<br>
+-->
<br>
+
<br>
+<!--
<br>
+ Please use Chrome to load this file, Firefox has some
limitation.
<br>
+-->
<br>
</blockquote>
<br>
What are the limitations on FF?
<br>
I have tried it and haven't noticed any problem.
<br>
<br>
And I suppose the limitation you refer to is only for the sample,
right? As Kimchi should run well on FF too.
<br>
</blockquote>
Make a mistake here by copying content from grid sample, there is no
limitation here for Tabs widget.<br>
All limitation is due to webfont icon where firefox has a limitation
to load it from local file. So bellow:<br>
<br>
1. there is no limitation for kimchi.<br>
2. there is only limitation for <b>samples</b> when a widget use <b>webfont
icon</b> like grid sorting control in <b>firefox</b>.<br>
<br>
I will send v3 to correct this.<br>
<blockquote cite="mid:54D0C25A.3070902@linux.vnet.ibm.com"
type="cite">
<br>
<blockquote type="cite">+
<br>
+<!DOCTYPE html>
<br>
+<html>
<br>
+<head>
<br>
+<meta charset="UTF-8">
<br>
+<title>Kimchi</title>
<br>
+<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<br>
+<meta name="viewport" content="width=device-width,
initial-scale=1.0, user-scalable=yes" />
<br>
+
<br>
+<link rel="stylesheet"
href="../../../libs/themes/base/jquery-ui.min.css">
<br>
+<link rel="stylesheet"
href="../../../fontello/css/fontello.css">
<br>
+<link rel="stylesheet"
href="../../../fontello/css/animation.css">
<br>
+<link rel="stylesheet"
href="../../../css/theme-default.min.css">
<br>
+
<br>
+<script
src="../../../libs/jquery-1.10.0.min.js"></script>
<br>
+<script
src="../../../libs/jquery-ui.min.js"></script>
<br>
+<script
src="../../../libs/jquery-ui-i18n.min.js"></script>
<br>
+<script src="../../../js/kimchi.min.js"></script>
<br>
+
<br>
+<style type="text/css">
<br>
+body {
<br>
+ background: none;
<br>
+}
<br>
+</style>
<br>
+<script>
<br>
+function init(){
<br>
+ $( "#tabs" ).tabs();
<br>
+}
<br>
+</script>
<br>
+</head>
<br>
+<body onload="init()">
<br>
+<div id="tabs">
<br>
+ <ul>
<br>
+ <li><a href="#tabs-1">Nunc
tincidunt</a></li>
<br>
+ <li><a href="#tabs-2">Proin
dolor</a></li>
<br>
+ <li><a href="#tabs-3">Aenean
lacinia</a></li>
<br>
+ </ul>
<br>
+ <div id="tabs-1">
<br>
+ <p>Proin elit arcu, rutrum commodo, vehicula
tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin
mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam
aliquet massa et lorem. Mauris dapibus lacus auctor risus.
Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula
eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae
ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris
vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt
interdum. Phasellus ipsum. Nunc tristique tempus
lectus.</p>
<br>
+ </div>
<br>
+ <div id="tabs-2">
<br>
+ <p>Morbi tincidunt, dui sit amet facilisis
feugiat, odio metus gravida ante, ut pharetra massa metus id
nunc. Duis scelerisque molestie turpis. Sed fringilla, massa
eget luctus malesuada, metus eros molestie lectus, ut tempus
eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse
sed ligula in ligula suscipit aliquam. Praesent in eros
vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur
ornare consequat nunc. Aenean vel metus. Ut posuere viverra
nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas
feugiat, tellus pellentesque pretium posuere, felis lorem
euismod felis, eu ornare leo nisi vel felis. Mauris consectetur
tortor et purus.</p>
<br>
+ </div>
<br>
+ <div id="tabs-3">
<br>
+ <p>Mauris eleifend est et turpis. Duis id erat.
Suspendisse potenti. Aliquam vulputate, pede vel vehicula
accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem.
Vestibulum non ante. Class aptent taciti sociosqu ad litora
torquent per conubia nostra, per inceptos himenaeos. Fusce
sodales. Quisque eu urna vel enim commodo pellentesque. Praesent
eu risus hendrerit ligula tempus pretium. Curabitur lorem enim,
pretium nec, feugiat nec, luctus a, lacus.</p>
<br>
+ <p>Duis cursus. Maecenas ligula eros, blandit
nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla
facilisi. Praesent viverra justo vitae neque. Praesent blandit
adipiscing velit. Suspendisse potenti. Donec mattis, pede vel
pharetra blandit, magna ligula faucibus eros, id euismod lacus
dolor eget odio. Nam scelerisque. Donec non libero sed nulla
mattis commodo. Ut sagittis. Donec nisi lectus, feugiat
porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit
eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec
elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit
hendrerit.</p>
<br>
+ </div>
<br>
+</body>
<br>
+</html>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>