Browse files

Update readme

+ update jQuery with the CDN hosted version
  • Loading branch information...
1 parent a38d6ad commit 811c78171661613655e55f3c215cecd6a69d4f0d @sindresorhus sindresorhus committed Jan 31, 2012
View
8 README.md
@@ -1,8 +0,0 @@
-[jQuery Treeview Plugin](http://bassistance.de/jquery-plugins/jquery-plugin-treeview/) - Its just a tree
-================================
-
-Converts nested lists into a mouse-navigatable tree - not keyboard support, yet.
-
-Provides some options for customizing, an async-tree extension and an experimental sortable extension.
-
-API documentation can be found at [http://docs.jquery.com/Plugins/Treeview](http://docs.jquery.com/Plugins/Treeview). There's also some background on the async extension.
View
0 changelog.txt → changelog.md
File renamed without changes.
View
24 demo/async.html
@@ -5,15 +5,15 @@
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<title>jQuery async treeview</title>
- <link rel="stylesheet" href="../jquery.treeview.css" />
- <link rel="stylesheet" href="../red-treeview.css" />
- <link rel="stylesheet" href="screen.css" />
-
- <script src="../lib/jquery.js" type="text/javascript"></script>
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="../jquery.treeview.css" />
+ <link rel="stylesheet" href="../red-treeview.css" />
+ <link rel="stylesheet" href="screen.css" />
+
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
<script src="../jquery.treeview.js" type="text/javascript"></script>
<script src="../jquery.treeview.edit.js" type="text/javascript"></script>
- <script src="../jquery.treeview.async.js" type="text/javascript"></script>
+ <script src="../jquery.treeview.async.js" type="text/javascript"></script>
<script type="text/javascript">
function initTrees() {
@@ -48,11 +48,11 @@
<body>
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/">jQuery Treeview Plugin</a> Demo</h1>
- <div id="main">
-
- <ul>
- <li><a href=".">Main Demo</a></li>
- <li><a href="source.phps">Server component used</a></li>
+ <div id="main">
+
+ <ul>
+ <li><a href=".">Main Demo</a></li>
+ <li><a href="source.phps">Server component used</a></li>
</ul>
<h4>Lazy-loading tree</h4>
View
4 demo/edit.html
@@ -8,8 +8,8 @@
<link rel="stylesheet" href="../jquery.treeview.css" />
<link rel="stylesheet" href="screen.css" />
- <script src="../lib/jquery.js" type="text/javascript"></script>
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
<script src="../jquery.treeview.js" type="text/javascript"></script>
<script src="../jquery.treeview.edit.js" type="text/javascript"></script>
View
8 demo/images.html
@@ -7,11 +7,11 @@
<link rel="stylesheet" href="../jquery.treeview.css" />
<link rel="stylesheet" href="../red-treeview.css" />
- <link rel="stylesheet" href="screen.css" />
+ <link rel="stylesheet" href="screen.css" />
- <script src="../lib/jquery.js" type="text/javascript"></script>
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
- <script src="../jquery.treeview.js" type="text/javascript"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
+ <script src="../jquery.treeview.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
View
24 demo/index.html
@@ -6,11 +6,11 @@
<title>jQuery treeview</title>
<link rel="stylesheet" href="../jquery.treeview.css" />
- <link rel="stylesheet" href="screen.css" />
+ <link rel="stylesheet" href="screen.css" />
- <script src="../lib/jquery.js" type="text/javascript"></script>
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
- <script src="../jquery.treeview.js" type="text/javascript"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
+ <script src="../jquery.treeview.js"></script>
<script type="text/javascript" src="demo.js"></script>
@@ -20,15 +20,15 @@
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/">jQuery Treeview Plugin</a> Demo</h1>
<div id="main">
- <a href="demo.js">Pagecode</a>
-
- <h3>Other demos</h3>
- <ul>
- <li><a href="large.html">Large Tree Demo</a></li>
- <li><a href="prerendered.html">Prerendered Large Tree Demo</a></li>
+ <a href="demo.js">Pagecode</a>
+
+ <h3>Other demos</h3>
+ <ul>
+ <li><a href="large.html">Large Tree Demo</a></li>
+ <li><a href="prerendered.html">Prerendered Large Tree Demo</a></li>
<li><a href="async.html">Async Tree Demo</a></li>
- <li><a href="edit.html">Editable Tree Demo</a></li>
- <li><a href="simple.html">Simple Tree Demo, famfamfam theme (no lines)</a></li>
+ <li><a href="edit.html">Editable Tree Demo</a></li>
+ <li><a href="simple.html">Simple Tree Demo, famfamfam theme (no lines)</a></li>
</ul>
<h4>Sample 1 - default</h4>
View
0 lib/jquery.cookie.js → demo/jquery.cookie.js
File renamed without changes.
View
4 demo/large.html
@@ -8,8 +8,8 @@
<link rel="stylesheet" href="../red-treeview.css" />
<link rel="stylesheet" href="screen.css" />
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../lib/jquery.cookie.js" type="text/javascript"></script>
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+<script src="jquery.cookie.js"></script>
<script src="../jquery.treeview.js" type="text/javascript"></script>
<script type="text/javascript">
View
4 demo/prerendered.html
@@ -7,8 +7,8 @@
<link rel="stylesheet" href="../jquery.treeview.css" />
<link rel="stylesheet" href="screen.css" />
- <script src="../lib/jquery.js" type="text/javascript"></script>
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
<script src="../jquery.treeview.js" type="text/javascript"></script>
<script type="text/javascript">
View
70 demo/simple.html
@@ -5,13 +5,13 @@
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<title>jQuery treeview</title>
- <link rel="stylesheet" href="../jquery.treeview.css" />
- <link rel="stylesheet" href="../red-treeview.css" />
- <link rel="stylesheet" href="screen.css" />
-
- <script src="../lib/jquery.js" type="text/javascript"></script>
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
- <script src="../jquery.treeview.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="../jquery.treeview.css" />
+ <link rel="stylesheet" href="../red-treeview.css" />
+ <link rel="stylesheet" href="screen.css" />
+
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
+ <script src="../jquery.treeview.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
@@ -35,39 +35,39 @@
<body>
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/">jQuery Treeview Plugin</a> Demo</h1>
- <div id="main">
-
+ <div id="main">
+
<a href=".">Main Demo</a>
<ul id="browser" class="filetree treeview-famfamfam">
<li><span class="folder">Folder 1</span>
<ul>
- <li><span class="folder">Item 1.1</span>
- <ul>
- <li><span class="file">Item 1.1.1</span></li>
- </ul>
- </li>
- <li><span class="folder">Folder 2</span>
- <ul>
- <li><span class="folder">Subfolder 2.1</span>
- <ul id="folder21">
- <li><span class="file">File 2.1.1</span></li>
- <li><span class="file">File 2.1.2</span></li>
- </ul>
- </li>
- <li><span class="folder">Subfolder 2.2</span>
- <ul>
- <li><span class="file">File 2.2.1</span></li>
- <li><span class="file">File 2.2.2</span></li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="closed"><span class="folder">Folder 3 (closed at start)</span>
- <ul>
- <li><span class="file">File 3.1</span></li>
- </ul>
- </li>
+ <li><span class="folder">Item 1.1</span>
+ <ul>
+ <li><span class="file">Item 1.1.1</span></li>
+ </ul>
+ </li>
+ <li><span class="folder">Folder 2</span>
+ <ul>
+ <li><span class="folder">Subfolder 2.1</span>
+ <ul id="folder21">
+ <li><span class="file">File 2.1.1</span></li>
+ <li><span class="file">File 2.1.2</span></li>
+ </ul>
+ </li>
+ <li><span class="folder">Subfolder 2.2</span>
+ <ul>
+ <li><span class="file">File 2.2.1</span></li>
+ <li><span class="file">File 2.2.2</span></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="closed"><span class="folder">Folder 3 (closed at start)</span>
+ <ul>
+ <li><span class="file">File 3.1</span></li>
+ </ul>
+ </li>
<li><span class="file">File 4</span></li>
</ul>
</li>
View
12 demo/sortable.html
@@ -9,16 +9,8 @@
<link rel="stylesheet" href="screen.css" />
- <script src="../../../jquery/src/core.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../jquery/src/selector.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../jquery/src/event.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../jquery/src/ajax.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../jquery/src/fx.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../jquery/src/offset.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../jquery/src/dimensions.js" type="text/javascript" charset="utf-8"></script>
-
-
- <script src="../lib/jquery.cookie.js" type="text/javascript"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
+ <script src="jquery.cookie.js"></script>
<script src="../jquery.treeview.js" type="text/javascript"></script>
<script src="../jquery.treeview.edit.js" type="text/javascript"></script>
View
6,883 lib/jquery.js
0 additions, 6,883 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
47 readme.md
@@ -0,0 +1,47 @@
+# jQuery Treeview
+
+Lightweight and flexible transformation of an unordered list into an expandable and collapsable tree, great for unobtrusive navigation enhancements. Supports both location and cookie based persistence.
+
+Provides some options for customizing, an async-tree extension and an experimental sortable extension.
+
+![screenshot](https://raw.github.com/jzaefferer/jquery-treeview/master/screenshot.png)
+
+### Note that this project is not actively maintained anymore.
+Check out [jsTree](http://www.jstree.com) for a more up to date plugin.
+
+---
+
+#### [Demo](http://jquery.bassistance.de/treeview/demo/)
+
+#### [Download](https://github.com/jzaefferer/jquery-treeview/zipball/1.4.1)
+
+#### [Changelog](https://raw.github.com/jzaefferer/jquery-treeview/master/changelog.txt)
+
+
+## Todo
+
+### 1.5
+- Add classes and rules for root items
+- Lazy-loading: render the complete tree, but only apply hitzones and hiding of children to the first level on load
+- Async treeview
+ - Support animations
+ - Support persist options
+
+
+## Documentation
+
+```javascript
+.treeview( options )
+```
+
+Takes an unordered list and makes all branches collapsable. The "treeview" class is added if not already present. To hide branches on first display, mark their li elements with the class "closed". If the "collapsed" option is used, mark initially open branches with class "open".
+
+
+## License
+
+Copyright (c) 2007 Jörn Zaefferer
+
+Dual licensed under the MIT and GPL licenses:
+
+- http://www.opensource.org/licenses/mit-license.php
+- http://www.gnu.org/licenses/gpl.html
View
BIN screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
8 todo
@@ -1,8 +0,0 @@
-1.5
----
-
-* add classes and rules for root items
-* lazy-loading: render the complete tree, but only apply hitzones and hiding of children to the first level on load
-* async treeview
- * support animations
- * support persist options

0 comments on commit 811c781

Please sign in to comment.