mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Translation quiz: improvements from Elnaz
This commit is contained in:
@@ -146,7 +146,7 @@ Minibar.prototype.show_languages=function(grammar_info) {
|
||||
|
||||
//var langname = element("to_menu").value;
|
||||
//to_menu.current={to: langname, input: ""};
|
||||
clear_all();
|
||||
//clear_all();
|
||||
}
|
||||
|
||||
from_menu.onchange=bind(new_language,t);
|
||||
|
||||
@@ -33,7 +33,7 @@ function show_word_magnets()
|
||||
{
|
||||
show_element("words");
|
||||
words_hidden= false;
|
||||
var buttons_bar=element("buttons_bar")
|
||||
var buttons_bar=element("buttons_bar");
|
||||
buttons_bar.removeChild(buttons_bar.lastChild);
|
||||
}
|
||||
}
|
||||
@@ -46,7 +46,7 @@ function hide_word_magnets()
|
||||
words_hidden= true;
|
||||
|
||||
//add "Show magnets" button
|
||||
var buttons_bar=element("buttons_bar")
|
||||
var buttons_bar=element("buttons_bar");
|
||||
appendChildren(buttons_bar,
|
||||
[ button("Show Magnets","show_word_magnets()","M", "show_magnets")]);
|
||||
}
|
||||
|
||||
@@ -18,11 +18,12 @@
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body onLoad="pre_start()">
|
||||
|
||||
<div id = "info" >
|
||||
<a href="javascript:popUp('quiz_about.html', 'about')">About GF Translation Quiz</a>
|
||||
<h2 style=" padding-left: 35px;"><i> Welcome to <b>GF Translation Quiz </i></b></h2>
|
||||
<h2 style=" padding-left: 35px;"><i> Welcome to GF Translation Quiz </i></h2>
|
||||
|
||||
<p style="font-size:20px;">
|
||||
To start the quiz choose a grammar, From and To languages
|
||||
|
||||
@@ -521,7 +521,7 @@ function exam_continue()
|
||||
exam_result();
|
||||
else
|
||||
{
|
||||
//clears the question and answer display areas
|
||||
//clears the question and answer and the explanation and hint display areas
|
||||
clearing();
|
||||
|
||||
document.getElementById('counter_display').value = counter + "/" + exam_quesNo;
|
||||
|
||||
Reference in New Issue
Block a user