Permalink
Browse files

Update README and example file

  • Loading branch information...
1 parent d66aa8c commit a5b6e5a958f99993a28fdba73982689aae058cb0 @bydooweedoo bydooweedoo committed Mar 22, 2011
View
@@ -19,19 +19,19 @@ Documentation
-------------
>
- Available via **doc/**
-- Examples available via **examples/**
+- Examples available via **example/**
Quick setup
-----------
First of all copy **static** folder to your library path.
Include css file as below into head tag:
- <link rel="stylesheet" type="text/css" href="static/css/Ext.ux.AwesomeCombo.css" />
+ <link rel="stylesheet" type="text/css" href="resources/css/Ext.ux.AwesomeCombo.css" />
And then javascript files into body tag:
- <script type="text/javascript" src="static/js/Ext.ux.PagingMemoryProxy.js"></script>
- <script type="text/javascript" src="static/js/Ext.ux.AwesomeCombo.js"></script>
+ <script type="text/javascript" src="src/Ext.ux.PagingMemoryProxy.js"></script>
+ <script type="text/javascript" src="src/Ext.ux.AwesomeCombo.js"></script>
Try:
View
@@ -1,85 +1,78 @@
<html>
- <head>
- <link rel="stylesheet" type="text/css" href="http://office.revolunet.com/gary/lib/ext/resources/css/ext-all.css"/>
- <link rel="stylesheet" type="text/css" href="static/css/style.css"/>
- <link rel="stylesheet" type="text/css" href="../static/css/Ext.ux.AwesomeCombo.css" />
- </head>
-
- <body>
-
- <h1>Ext.ux.AwesomeCombo</h1>
- <p>Readable sources available in <a href="static/js/script.js">script.js</a></p>
-
- <br />
-
- <div class="example">
- <h2>Simple ComboBox</h2>
- <p>This is a simple combobox with static data.</p>
- <div id="form1"></div>
- </div>
-
- <div class="example">
- <h2>Array Store ComboBox</h2>
- <p>This is a combobox with multidimensional array as data.</p>
- <div id="form2"></div>
- </div>
-
- <div class="example">
- <h2>Paging ComboBox</h2>
- <p>This is a combobox with multidimensional array as data and paging.</p>
- <div id="form3"></div>
- </div>
-
- <div class="example">
- <h2>Ajax/Json ComboBox</h2>
- <p>This is a combobox with data loaded from an Ajax request.</p>
- <div id="form4"></div>
- </div>
-
- <div class="example">
- <h2>Ajax/Json ComboBox with XTYPE Store</h2>
- <p>This is a combobox with data loaded from an Ajax request.</p>
- <div id="form5"></div>
- </div>
-
- <div class="example">
- <h2>XTYPE store with BeeCombo combobox</h2>
- <p>This is a BeeCombo combobox with data loaded from an Ajax request.</p>
- <div id="form6"></div>
- </div>
-
- <div class="example">
- <h2>BeeCombo in a CompositeField</h2>
- <p>Use BeeCombo as a part of a composite field</p>
- <div id="form7"></div>
- </div>
-
- <div class="example">
- <h2>BeeCombo in a Window</h2>
- <p>Use BeeCombo in a window and deal with resize events</p>
- <div id="button1"></div>
- </div>
-
- <div class="example">
- <h2>AwesomeCombo with differents status</h2>
+ <head>
+ <title>Ext.ux.AwesomeCombo examples</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" type="text/css" href="http://office.revolunet.com/gary/lib/ext/resources/css/ext-all.css"/>
+ <link rel="stylesheet" type="text/css" href="resources/css/style.css"/>
+ <link rel="stylesheet" type="text/css" href="../resources/css/Ext.ux.AwesomeCombo.css" />
+ </head>
+
+ <body>
+
+ <h1>Ext.ux.AwesomeCombo</h1>
+ <p>Readable sources available in <a href="src/script.js">script.js</a></p>
+
+ <br />
+
+ <div class="example">
+ <h2>Simple ComboBox</h2>
+ <p>This is a simple combobox with static data.</p>
+ <div id="form1"></div>
+ </div>
+
+ <div class="example">
+ <h2>Array Store ComboBox</h2>
+ <p>This is a combobox with multidimensional array as data.</p>
+ <div id="form2"></div>
+ </div>
+
+ <div class="example">
+ <h2>Paging ComboBox</h2>
+ <p>This is a combobox with multidimensional array as data and paging.</p>
+ <div id="form3"></div>
+ </div>
+
+ <div class="example">
+ <h2>Ajax/Json ComboBox</h2>
+ <p>This is a combobox with data loaded from an Ajax request.</p>
+ <div id="form4"></div>
+ </div>
+
+ <div class="example">
+ <h2>Ajax/Json ComboBox with XTYPE Store</h2>
+ <p>This is a combobox with data loaded from an Ajax request.</p>
+ <div id="form5"></div>
+ </div>
+
+ <div class="example">
+ <h2>XTYPE store with BeeCombo combobox</h2>
+ <p>This is a BeeCombo combobox with data loaded from an Ajax request.</p>
+ <div id="form6"></div>
+ </div>
+
+ <div class="example">
+ <h2>BeeCombo in a CompositeField</h2>
+ <p>Use BeeCombo as a part of a composite field</p>
+ <div id="form7"></div>
+ </div>
+
+ <div class="example">
+ <h2>BeeCombo in a Window</h2>
+ <p>Use BeeCombo in a window and deal with resize events</p>
+ <div id="button1"></div>
+ </div>
+
+ <div class="example">
+ <h2>AwesomeCombo with differents status</h2>
<div id="form8"></div>
- </div>
-
- <script type="text/javascript" src="http://office.revolunet.com/gary/lib/ext/adapter/ext/ext-base.js"></script>
- <script type="text/javascript" src="http://office.revolunet.com/gary/lib/ext/ext-all-debug.js"></script>
- <script type="text/javascript" src="../static/js/Ext.ux.PagingMemoryProxy.js"></script>
-
- <!-- // <script type="text/javascript" src="../static/js/Ext.ux.BeeCombo.js"></script> -->
- <!-- <script type="text/javascript" src="../static/js/src/core.js"></script>
- <script type="text/javascript" src="../static/js/src/override.js"></script>
- <script type="text/javascript" src="../static/js/src/events.js"></script>
- <script type="text/javascript" src="../static/js/src/tooltip.js"></script>
- <script type="text/javascript" src="../static/js/src/paging.js"></script>
- <script type="text/javascript" src="../static/js/src/format.js"></script> -->
-
- <script type="text/javascript" src="../static/js/Ext.ux.AwesomeCombo.js"></script>
- <script type="text/javascript" src="static/js/states.js"></script>
- <script type="text/javascript" src="static/js/script.js"></script>
- </body>
+ </div>
+
+ <script type="text/javascript" src="http://office.revolunet.com/gary/lib/ext/adapter/ext/ext-base.js"></script>
+ <script type="text/javascript" src="http://office.revolunet.com/gary/lib/ext/ext-all-debug.js"></script>
+ <script type="text/javascript" src="../src/Ext.ux.PagingMemoryProxy.js"></script>
+ <script type="text/javascript" src="../src/Ext.ux.AwesomeCombo.js"></script>
+ <script type="text/javascript" src="src/states.js"></script>
+ <script type="text/javascript" src="src/script.js"></script>
+ </body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a5b6e5a

Please sign in to comment.