From: tla Date: Thu, 12 Jun 2014 10:39:47 +0000 (+0200) Subject: Changes from jorisvanzundert for stemweb help text display X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e239d45f9ea50e2a3ee2e4575a6b5ea33eaa7dee;p=scpubgit%2Fstemmaweb.git Changes from jorisvanzundert for stemweb help text display --- diff --git a/root/css/dashboard.css b/root/css/dashboard.css index fcfa7c3..2a12698 100644 --- a/root/css/dashboard.css +++ b/root/css/dashboard.css @@ -143,4 +143,5 @@ margin-top: 5px; padding: 10px; border: 1px solid #ddd; + display: none; } \ No newline at end of file diff --git a/root/js/componentload.js b/root/js/componentload.js index 37b4f12..8be3210 100644 --- a/root/js/componentload.js +++ b/root/js/componentload.js @@ -548,7 +548,7 @@ $(document).ready( function() { $('#stemweb-ui-dialog').dialog({ autoOpen: false, - height: 425, + height: 'auto', width: 400, modal: true, buttons: { @@ -605,6 +605,9 @@ $(document).ready( function() { // Set up the relevant options for whichever algorithm is chosen. // "key" -> form name, option ID "stemweb_$key_opt" // "name" -> form label + $('#stemweb_algorithm_help').click( function() { + $('#stemweb_algorithm_desc_text').toggle( 'blind' ); + }); $('#stemweb_algorithm').change( function() { var pk = $(this).val(); // Display a link to the popup description, and fill in diff --git a/root/src/index.tt b/root/src/index.tt index 6901bb2..54dea5f 100644 --- a/root/src/index.tt +++ b/root/src/index.tt @@ -171,7 +171,7 @@ var textOnLoad = "[% withtradition %]";
Choose an algorithm
- + What is this?

Select the options