Commit Graph

11 Commits

Author SHA1 Message Date
hallgren
fa65026136 support.js: create buttons with access keys 2010-09-10 12:20:07 +00:00
hallgren
f5f8369d97 minibar: use AJAX instead of JSONP when possible
Using AJAX instead of JSONP can give better caching in the browser, since the
URL doesn't need to contain a (dynamically generated) callback function name.
But because of the same origin policy in JavaScript, AJAX can only be used when
the HTML file is served from the same server as the PGF. The new function
http_get_json in support.js uses AJAX if this is the case, and falls back to
JSONP otherwise.
2010-09-10 08:38:11 +00:00
hallgren
c662d116f6 Minibar: PGF server API: pass callback functions directly instead of passing function names as strings. 2010-09-05 18:06:45 +00:00
hallgren
1fd4ed7421 support.js: new function span_id, bug fix in function sort 2010-05-28 14:41:30 +00:00
hallgren
87cc4d7624 Merge phrasebook.js into minibar.js 2010-04-30 14:55:56 +00:00
hallgren
4fd94cc5c1 Some work on the Saldo game 2010-04-28 12:58:17 +00:00
hallgren
14a053a81b Some work on minibar:
1. Menu for choosing target language.
2. Pass options when calling start_minibar.
See about.html for more details.
2010-04-19 16:48:26 +00:00
hallgren
6e24b79dcd Code simplification 2010-04-15 15:41:30 +00:00
hallgren
603536a2f2 Omit redundant trailing "&" in jsonp url 2010-04-15 13:48:28 +00:00
hallgren
b3c8cf315a Some documentation 2010-04-09 14:04:18 +00:00
hallgren
df6ab55915 Adding the Minibar files to the darcs repository. 2010-04-09 13:51:34 +00:00