Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Data-column to describe column id

  • Loading branch information...
commit 3864bc8c0954f17882ba2af491a54ff9a05736a0 1 parent 2196ee1
Marcin Ignac vorg authored

Showing 2 changed files with 13 additions and 11 deletions. Show diff stats Hide diff stats

  1. +2 0  js/clusters.js
  2. +11 11 surveyvisualization.html
2  js/clusters.js
@@ -16,6 +16,8 @@ Clusters.prototype.showDetails = function(caseData) {
16 16 var value = Number(field.text());
17 17 if (isNaN(value)) value = 0;
18 18
  19 + console.log(field.attr("data-column"));
  20 +
19 21 field.html(
20 22 "<div class='value'>"+value+"</div>" +
21 23 "<div class='bar'>" +
22 surveyvisualization.html
@@ -50,27 +50,27 @@
50 50 <dt>Institution perspective</dt>
51 51 <dd>{{=impact-institutionorganisationperspective}}</dd>
52 52 <dt>Audience involvment</dt>
53   - <dd class="number">{{=audienceinvolvment}}</dd>
  53 + <dd class="number" data-column="audienceinvolvment">{{=audienceinvolvment}}</dd>
54 54 <dt>Audience engagement</dt>
55   - <dd class="number">{{=audienceengagement}}</dd>
  55 + <dd class="number" data-column="audienceengagement">{{=audienceengagement}}</dd>
56 56 <dt>Audience percpetion</dt>
57   - <dd class="number">{{=audienceperception}}</dd>
  57 + <dd class="number" data-column="audienceperception">{{=audienceperception}}</dd>
58 58 <dt>Exhibition elements</dt>
59   - <dd class="number">{{=exhibitionelements}}</dd>
  59 + <dd class="number" data-column="exhibitionelements">{{=exhibitionelements}}</dd>
60 60 <dt>Technology metaphor</dt>
61   - <dd class="number">{{=technologymetaphor}}</dd>
  61 + <dd class="number" data-column="technologymetaphor">{{=technologymetaphor}}</dd>
62 62 <dt>Technology context</dt>
63   - <dd class="number">{{=technologycontext}}</dd>
  63 + <dd class="number" data-column="technologycontext">{{=technologycontext}}</dd>
64 64 <dt>Identity construction</dt>
65   - <dd class="number">{{=identityconstruction}}</dd>
  65 + <dd class="number" data-column="identityconstruction">{{=identityconstruction}}</dd>
66 66 <dt>Representation</dt>
67   - <dd class="number">{{=representation}}</dd>
  67 + <dd class="number" data-column="representation">{{=representation}}</dd>
68 68 <dt>Historical perspective</dt>
69   - <dd class="number">{{=historicalperspective}}</dd>
  69 + <dd class="number" data-column="historicalperspective">{{=historicalperspective}}</dd>
70 70 <dt>Stance</dt>
71   - <dd class="number">{{=stance}}</dd>
  71 + <dd class="number" data-column="stance">{{=stance}}</dd>
72 72 <dt>Multinationalism</dt>
73   - <dd class="number">{{=multinationalism}}</dd>
  73 + <dd class="number" data-column="multinationalism">{{=multinationalism}}</dd>
74 74 <dt>Affiliation</dt>
75 75 <dd>{{=affiliation}}</dd>
76 76 </dl>

0 comments on commit 3864bc8

Please sign in to comment.
Something went wrong with that request. Please try again.