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 +