From: Robert Konigsberg Date: Tue, 17 Jan 2012 01:10:51 +0000 (-0500) Subject: stuff. i'm tired. X-Git-Tag: v1.0.0~320^2~5 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=2a3953eb837cf50230d40fb518d0fa9b93ed7c56;p=dygraphs.git stuff. i'm tired. --- 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",