$('#stemweb-ui-dialog').dialog({
autoOpen: false,
- height: 425,
+ height: 'auto',
width: 400,
modal: true,
buttons: {
// 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
<h5>Choose an algorithm</h5>
<label for="algorithm">Run algorithm: </label>
<select id="stemweb_algorithm" name="algorithm"></select>
- <!-- span id="stemweb_algorithm_help">What is this?</span><br/ -->
+ <span id="stemweb_algorithm_help">What is this?</span><br/>
<div id="stemweb_algorithm_desc_text"></div>
<br/>
<h5>Select the options</h5>