summaryrefslogtreecommitdiff
path: root/src/runtime/javascript/minibar/minibar.js
AgeCommit message (Collapse)Author
2010-05-26Improved keyboard input handling in minibar/phrasebookhallgren
1. The text input field is shown form the start, no need to click. 2. The text input field is removed when no more words can be added to the sentence. 3. When you press Enter, a word is added to the sentence (1) if there is only one possible completion left (e.g. if you typed "airp" and the only completion is "airport"), or (2) if what you typed exactly matches one of the completions (e.g. if you typed "the" and the completions are "the", "theatre" and "these").
2010-05-26Use <input type=button ...> instead of <div ...> tags for the word magnets. ↵hallgren
This should make them clickable in more browsers and could improve layout.
2010-05-21hide the language code if translating to only one target languagehallgren
2010-04-30Merge phrasebook.js into minibar.jshallgren
2010-04-19Some work on minibar:hallgren
1. Menu for choosing target language. 2. Pass options when calling start_minibar. See about.html for more details.
2010-04-15Work in progress on keyboard input in minibarhallgren
2010-04-15Fix bug in get_grammarlist. Some code simplificaiton.hallgren
2010-04-09Abstract out grammar access methodhallgren
2010-04-09Adding the Minibar files to the darcs repository.hallgren