s = '<tablewidth="250px"><tr><td><divid="show_dice"> ';
s = s + '<imgsrc ="images/dice' + current_dice + '.png"></div></td>';
s = s + '<tdalign=right><divid="show_score"style="color: #FFFFFF; font-weight:bold; font-size: 20px;">';
s = s + '<strong>'+str_score+': </strong>';
s = s + '<strongclass="score">' +score+ '</strong></div></td></tr></table>';
s = s + '<divid="question_area">' + quest_text+'</div>';
s = s + '<formname="snakesform">';
mchoice_count = quest_resp.length-1;
mchoice_positions = new Array( mchoice_count);
for(i=0; i <mchoice_count;i++)
@ -381,10 +402,17 @@ function display_quest_M()
mchoice_positions[ j] = temp;
}
for(i=0; i <mchoice_count;i++)
s = s + '<inputtype="radio"name="radio_answer"id="radio_answer"value="'+i+'"/>'+quest_resp[ mchoice_positions[ i]] + '<br/>';
for(i=0; i <mchoice_count;i++){
s = s + '<inputtype="radio"name="radio_answer"id="radio_answer"value="';
s = s + i+'" />'+quest_resp[ mchoice_positions[ i]] + '<br/>';
}
s = s + '<br/><inputtype="button"id="check_btn"value="'+str_check+'"onclick="check_answer();"><br/><divid="feedb_area"><divid="feedb_wrong"style="display:none; color:yellow;"> '+quest_feedb+' </div><br/><divid="feedb"style="display:none; color:yellow;"> '+quest_feedb+'. Θα προχωρήσεις '+current_dice+' τετράγωνα μπροστά!</div><br/><divid="OK_btn"style="display:none;"><inputtype="button"onclick="display_quest();"value="OK"/></div></div></form>';
s = s + '<br/><inputtype="button"id="check_btn"value="'+str_check;
s = s + '" onclick="check_answer();"> <br/><divid="feedb_area"><divid="feedb_wrong"style="display:none; color:yellow;"> ';
s = s + quest_feedb+' </div><br/><divid="feedb"style="display:none; color:yellow;"> ';
s = s + quest_feedb+'. Θα προχωρήσεις ';
s = s + current_dice+' τετράγωνα μπροστά!</div><br/><divid="OK_btn"';
s = s + 'style="display:none;"><inputtype="button"onclick="display_quest();"value="OK"/></div></div></form>';