Some work on minibar:

1. Menu for choosing target language.
2. Pass options when calling start_minibar.
See about.html for more details.
This commit is contained in:
hallgren
2010-04-19 16:48:26 +00:00
parent bc504835d2
commit d1088d12bc
4 changed files with 81 additions and 35 deletions

View File

@@ -74,6 +74,12 @@ function button(label,action) {
return el;
}
function option(label,value) {
var el=empty("option","value",value);
el.innerHTML=label;
return el;
}
function appendChildren(el,cs) {
for(var i=0;i<cs.length;i++)
el.appendChild(cs[i]);