diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-04-28 11:10:30 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-04-28 11:10:30 +0200 |
commit | 3ae7439fd8a2f9a8b4359b00ef3b0808aa45f9d4 (patch) | |
tree | b68e6ed9001529fb9650714ebc7d4c9bff464ad3 /data | |
parent | ca39456f4ba114cb0bbeb9c719f78bf7692c1686 (diff) | |
download | comatose-3ae7439fd8a2f9a8b4359b00ef3b0808aa45f9d4.tar.gz comatose-3ae7439fd8a2f9a8b4359b00ef3b0808aa45f9d4.tar.bz2 comatose-3ae7439fd8a2f9a8b4359b00ef3b0808aa45f9d4.zip |
Pretty popup
Diffstat (limited to 'data')
-rw-r--r-- | data/script.js | 7 | ||||
-rw-r--r-- | data/style.css | 20 |
2 files changed, 25 insertions, 2 deletions
diff --git a/data/script.js b/data/script.js index 58d94f3..50c06ac 100644 --- a/data/script.js +++ b/data/script.js @@ -6,11 +6,14 @@ $(document).ready (function () { $('#algo tr').click (function () { var data = $(this).data ('proto'); $('#popup h2').text (data.name); - $('#popup .subtitle').text (data.longname); + $('#popup .longname').text (data.longname); + + $('#popup .title').text (data.title); + $('#popup .year').text (data.year); $('#popup .doi').text ('doi:' + data.doi); $('#popup .doi').attr ('href', 'http://doi.org/' + data.doi); $('#popup .scholar').attr ('href', 'http://scholar.google.com/scholar?q=' + encodeURIComponent (data.title)); - $('#popup .year').text (data.year); + $('#popup .description').text (data.description); $('#popup').fadeIn ('normal'); diff --git a/data/style.css b/data/style.css index 81b9190..41b5a9e 100644 --- a/data/style.css +++ b/data/style.css @@ -25,3 +25,23 @@ td.features ul { opacity: 0.5; } +.ref { + list-style-type: none; + margin: 0; + padding: 0; +} + +.ref li { + display: inline; + margin: 0; + padding: 0; +} + +.ref li:after { + content: ", "; +} + +.ref .title { + font-style: italic; +} + |