- var row = createChild("tr", table);
- var div = createChild("div", createChild("td", row));
- var a = createChild("a", div);
- a.innerText = opt;
- a.href = "http://dygraphs.com/options.html#" + opt;
- a.title = Dygraph.OPTIONS_REFERENCE[opt].description;
- a.target="_blank";
+ var row = Palette.createChild("div", table);
+ row.onmouseover = function(source, title, type, body, e) {
+ return function(e) {
+ palette.tooltip.show(source, e, title, type, body);
+ };
+ } (row, opt, type, Dygraph.OPTIONS_REFERENCE[opt].description);
+ row.onmouseout = function() { palette.tooltip.hide(); };
+
+ var div = Palette.createChild("span", row, "name");
+ div.textContent = opt;
+
+ var value = Palette.createChild("span", row, "option");