From ee9eb245a90658135eafc6698d5a55dbe48e3889 Mon Sep 17 00:00:00 2001 From: Phyks Date: Mon, 7 Apr 2014 22:35:20 +0200 Subject: [PATCH] Update site with examples --- examples/index.html | 26 ++++++++++++++++++++++++++ examples/index2.html | 23 +++++++++++++++++++++++ examples/index3.html | 23 +++++++++++++++++++++++ index.html | 9 ++++++++- 4 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 examples/index.html create mode 100644 examples/index2.html create mode 100644 examples/index3.html diff --git a/examples/index.html b/examples/index.html new file mode 100644 index 0000000..a5c0435 --- /dev/null +++ b/examples/index.html @@ -0,0 +1,26 @@ + + + + Timeline.js example + + + +
+ + + + diff --git a/examples/index2.html b/examples/index2.html new file mode 100644 index 0000000..25ece33 --- /dev/null +++ b/examples/index2.html @@ -0,0 +1,23 @@ + + + + Timeline.js example + + + +
+ + + + diff --git a/examples/index3.html b/examples/index3.html new file mode 100644 index 0000000..157b46f --- /dev/null +++ b/examples/index3.html @@ -0,0 +1,23 @@ + + + + Timeline.js example + + + +
+ + + + diff --git a/index.html b/index.html index 4ce3826..87b1634 100644 --- a/index.html +++ b/index.html @@ -35,6 +35,13 @@

I coded it because I couldn't find any basic JS library to do this, without any external dependencies and extra features. Timeline.js is only 13k once minified, and can be reduced under 10k thanks to obfuscation. Better results may be obtained with a little refactor, but that's enough for me.

+

Examples

+ +

Usage

@@ -107,4 +114,4 @@ And you can add points thanks to SVG.addPoints(GRAPH_NAME, POINTS); - \ No newline at end of file +