From 2a3953eb837cf50230d40fb518d0fa9b93ed7c56 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Mon, 16 Jan 2012 20:10:51 -0500 Subject: [PATCH] stuff. i'm tired. --- gallery/gallery.css | 9 ++++++++- gallery/gallery.js | 3 +++ gallery/index.html | 8 ++++++-- gallery/interaction.js | 8 ++++---- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/gallery/gallery.css b/gallery/gallery.css index 92d240c..d5b4358 100644 --- a/gallery/gallery.css +++ b/gallery/gallery.css @@ -13,11 +13,18 @@ aside { vertical-align: top; width: 200px; } +#gap { + style="width:0.5em;" +} -#rhs { +#rhs, #lhs { vertical-align: top; } +#subtitle a:visited { + color: blue; +} + #workarea { border-style: solid; border-color: #ddd; diff --git a/gallery/gallery.js b/gallery/gallery.js index bdf2386..dec3cb3 100644 --- a/gallery/gallery.js +++ b/gallery/gallery.js @@ -20,9 +20,12 @@ Gallery.start = function() { Gallery.toc = document.getElementById("toc"); Gallery.workarea = document.getElementById("workarea"); Gallery.subtitle = Gallery.create("div", Gallery.workarea); + Gallery.subtitle.id = "subtitle"; Gallery.workareaChild = Gallery.create("div", Gallery.workarea); Gallery.title = document.getElementById("title"); Gallery.textarea = new TextArea(); + Gallery.textarea.width = 600; + Gallery.textarea.height = 400; for (var idx in Gallery.entryOrder) { var id = Gallery.entryOrder[idx]; diff --git a/gallery/index.html b/gallery/index.html index b284d50..360bdec 100644 --- a/gallery/index.html +++ b/gallery/index.html @@ -57,8 +57,12 @@ - - + +
+
+ Back to Dygraphs. + +
diff --git a/gallery/interaction.js b/gallery/interaction.js index 69a812c..fd50def 100644 --- a/gallery/interaction.js +++ b/gallery/interaction.js @@ -5,7 +5,7 @@ Gallery.register( title: 'title', setup: function(parent) { parent.innerHTML = [ - "

Default interaction model

", + "

Default interaction model

", "
", "

", " Zoom: click-drag, Pan: shift-click-drag, Restore: double-click", @@ -13,7 +13,7 @@ Gallery.register( "

", "
", "", - "

Empty interaction model

", + "

Empty interaction model

", "
", "

", " Click and drag all you like, it won't do anything!", @@ -22,7 +22,7 @@ Gallery.register( "

", "
", // what is this? "", - "

Custom interaction model

", + "

Custom interaction model

", "
", "

", " Zoom in: double-click, scroll wheel
", @@ -34,7 +34,7 @@ Gallery.register( " ", "

", "
", - "

Fun model!

", + "

Fun model!

", "
", "

", " Keep the mouse button pressed, and hover over all points", -- 2.7.4