Updated visualization of results and examples.
This commit is contained in:
@@ -21,6 +21,12 @@ $(document).ready(function() {
|
||||
$(".visualization-table").hide();
|
||||
|
||||
$(".table-wrapper tbody tr").click(function() {
|
||||
// Reset background color for all rows
|
||||
$(".table-wrapper tbody tr").css("background-color", "");
|
||||
|
||||
// Change background color of the clicked row
|
||||
$(this).css("background-color", "#f0f0f0");
|
||||
|
||||
$(".visualization-table").show();
|
||||
var grew_url = $(this).data("href");
|
||||
var subtree_hash = $(this).data("subtree-hash");
|
||||
@@ -49,6 +55,10 @@ $(document).ready(function() {
|
||||
$(".other-examples").html("<a href=" + other_examples + ">" + other_examples_text + "</a>");
|
||||
}
|
||||
});
|
||||
$(".close-visualization").click(function() {
|
||||
$(".visualization-table").hide();
|
||||
$(".table-wrapper tbody tr").css("background-color", "");
|
||||
});
|
||||
$(".th-desc").hide();
|
||||
$(".th-asc").hide();
|
||||
if ('order_by' in params) {
|
||||
|
||||
Reference in New Issue
Block a user