Translation quiz: improvements from Elnaz

This commit is contained in:
hallgren
2011-01-25 11:58:49 +00:00
parent 6fa1d913e9
commit ad5316279b
5 changed files with 23 additions and 22 deletions

View File

@@ -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);

View File

@@ -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")]);
}

View File

@@ -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

View File

@@ -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;