Lines Matching refs:e

68 function pgn4web_onload_event(e) {  argument
69 pgn4web_onload(e);
72 function pgn4web_onload(e) { argument
157 function stopEvProp(e) { argument
158 e.cancelBubble = true;
159 if (e.stopPropagation) { e.stopPropagation(); }
160 if (e.preventDefault) { e.preventDefault(); }
187 function pgn4web_handleKey_event(e) { argument
188 pgn4web_handleKey(e);
192 function pgn4web_handleKey(e) { argument
195 if (!e) { e = window.event; }
197 if (e.altKey || e.ctrlKey || e.metaKey) { return true; }
199 keycode = e.keyCode;
202 if (!shortcutKeysEnabled && !(keycode == 27 && e.shiftKey)) { return true; }
222 if (e.shiftKey) { interactivelyToggleShortcutKeys(); }
230 … boardOnClick[colRow.col][colRow.row]({"id": "img_tcol" + colRow.col + "trow" + colRow.row}, e);
237 if (e.shiftKey) { window.open(pgn4web_project_url); }
243 backButton(e);
248 startButton(e);
253 forwardButton(e);
258 endButton(e);
262 MoveToPrevComment(e.shiftKey);
266 MoveToNextComment(e.shiftKey);
270 if (e.shiftKey) { goToFirstChild(); }
275 if (e.shiftKey) { undoStackRedo(); }
288 if (e.shiftKey) { searchPgnGame(""); }
293 if (e.shiftKey) { searchPgnGame(lastSearchPgnExpression, true); }
298 if (e.shiftKey) { displayFenData(); }
312 if (e.shiftKey) { customShortcutKey_Shift_0(); }
317 if (e.shiftKey) { customShortcutKey_Shift_1(); }
322 if (e.shiftKey) { customShortcutKey_Shift_2(); }
327 if (e.shiftKey) { customShortcutKey_Shift_3(); }
332 if (e.shiftKey) { customShortcutKey_Shift_4(); }
337 if (e.shiftKey) { customShortcutKey_Shift_5(); }
342 if (e.shiftKey) { customShortcutKey_Shift_6(); }
347 if (e.shiftKey) { customShortcutKey_Shift_7(); }
352 if (e.shiftKey) { customShortcutKey_Shift_8(); }
357 if (e.shiftKey) { customShortcutKey_Shift_9(); }
369 case 69: // e
378 if (e.shiftKey) { LiveBroadcastSteppingMode = !LiveBroadcastSteppingMode; }
387 if (!e.shiftKey || IsRotated) { FlipBoard(); }
419 if (e.shiftKey) { SetCommentsOnSeparateLines(!commentsOnSeparateLines); }
430 return stopEvProp(e);
455 boardShortcut(cols.charAt(c).toUpperCase()+rows.charAt(r), "", function(t,e){}); argument
483 boardShortcut("A8", "pgn4web v" + pgn4web_version + " debug info", function(t,e){ displayDebugInfo(… argument
485 boardShortcut("B8", "show current position FEN string", function(t,e){ displayFenData(); }, true); argument
487 boardShortcut("C8", "show current game PGN source data", function(t,e){ if (e.shiftKey) { savePgnDa… argument
489 boardShortcut("D8", "show all games PGN source data", function(t,e){ if (e.shiftKey) { savePgnData(… argument
491 boardShortcut("E8", "search help", function(t,e){ displayHelp("search_tool"); }, true); argument
493 boardShortcut("F8", "shortcut keys help", function(t,e){ displayHelp("shortcut_keys"); }, true); argument
495 boardShortcut("G8", "shortcut squares help", function(t,e){ displayHelp(e.shiftKey ? "informant_sym… argument
497 boardShortcut("H8", "pgn4web help", function(t,e){ displayHelp(e.shiftKey ? "credits_and_license" :… argument
499 boardShortcut("A7", "pgn4web website", function(t,e){ window.open(pgn4web_project_url); }, true); argument
501 boardShortcut("B7", "undo last chessboard position update", function(t,e){ undoStackUndo(); }, true… argument
503 boardShortcut("C7", "redo last undo", function(t,e){ undoStackRedo(); }, true); argument
505 boardShortcut("D7", "toggle highlight last move", function(t,e){ SetHighlight(!highlightOption); },… argument
507 boardShortcut("E7", "flip board", function(t,e){ if (!e.shiftKey || IsRotated) { FlipBoard(); } }, … argument
509 boardShortcut("F7", "toggle show comments in game text", function(t,e){ if (e.shiftKey) { SetCommen… argument
511 boardShortcut("G7", "", function(t,e){}, true); // see setG7A6B6H6... argument
513 boardShortcut("H7", "toggle enabling shortcut keys", function(t,e){ interactivelyToggleShortcutKeys… argument
515 boardShortcut("A6", "", function(t,e){}, true); // see setG7A6B6H6... argument
517 boardShortcut("B6", "", function(t,e){}, true); // see setG7A6B6H6... argument
519 boardShortcut("C6", "search previous finished game", function(t,e){ searchPgnGame('\\[\\s*Result\\s… argument
521 boardShortcut("D6", "search previous unfinished game", function(t,e){ searchPgnGame('\\[\\s*Result\… argument
523 boardShortcut("E6", "search next unfinished game", function(t,e){ searchPgnGame('\\[\\s*Result\\s*"… argument
525 boardShortcut("F6", "search next finished game", function(t,e){ searchPgnGame('\\[\\s*Result\\s*"(?… argument
527 boardShortcut("G6", "", function(t,e){}, true); argument
529 boardShortcut("H6", "", function(t,e){}, true); // see setG7A6B6H6... argument
531 boardShortcut("A5", "repeat last search backward", function(t,e){ searchPgnGame(lastSearchPgnExpres… argument
533 boardShortcut("B5", "search prompt", function(t,e){ if (e.shiftKey) { searchPgnGame(""); } else { s… argument
535 boardShortcut("C5", "repeat last search", function(t,e){ searchPgnGame(lastSearchPgnExpression); },… argument
537 boardShortcut("D5", "search previous win result", function(t,e){ searchPgnGame('\\[\\s*Result\\s*"(… argument
539 boardShortcut("E5", "search next win result", function(t,e){ searchPgnGame('\\[\\s*Result\\s*"(1-0|… argument
541 boardShortcut("F5", "", function(t,e){}, true); argument
543 boardShortcut("G5", "", function(t,e){}, true); argument
545 boardShortcut("H5", "", function(t,e){}, true); argument
547 boardShortcut("A4", "search previous event", function(t,e){ searchPgnGame('\\[\\s*Event\\s*"(?!' + … argument
549 boardShortcut("B4", "search previous round of same event", function(t,e){ searchPgnGame('\\[\\s*Eve… argument
551 …4", "search previous game of same black player", function(t,e){ searchPgnGame('\\[\\s*' + (e.shift… argument
553 …4", "search previous game of same white player", function(t,e){ searchPgnGame('\\[\\s*' + (e.shift… argument
555 …t("E4", "search next game of same white player", function(t,e){ searchPgnGame('\\[\\s*' + (e.shift… argument
557 …t("F4", "search next game of same black player", function(t,e){ searchPgnGame('\\[\\s*' + (e.shift… argument
559 boardShortcut("G4", "search next round of same event", function(t,e){ searchPgnGame('\\[\\s*Event\\… argument
561 boardShortcut("H4", "search next event", function(t,e){ searchPgnGame('\\[\\s*Event\\s*"(?!' + fixR… argument
563 boardShortcut("A3", "load first game", function(t,e){ if (numberOfGames > 1) { Init(0); } }, true); argument
565 boardShortcut("B3", "jump to previous games decile", function(t,e){ if (currentGame > 0) { calculat… argument
567 boardShortcut("C3", "load previous game", function(t,e){ Init(currentGame - 1); }, true); argument
569 boardShortcut("D3", "load random game", function(t,e){ if (numberOfGames > 1) { Init(Math.floor(Mat… argument
571 boardShortcut("E3", "load random game at random position", function(t,e){ randomGameRandomPly(); },… argument
573 boardShortcut("F3", "load next game", function(t,e){ Init(currentGame + 1); }, true); argument
575 boardShortcut("G3", "jump to next games decile", function(t,e){ if (currentGame < numberOfGames - 1… argument
577 boardShortcut("H3", "load last game", function(t,e){ if (numberOfGames > 1) { Init(numberOfGames - … argument
579 boardShortcut("A2", "stop autoplay", function(t,e){ SetAutoPlay(e.shiftKey); }, true); argument
581 boardShortcut("B2", "toggle autoplay", function(t,e){ SwitchAutoPlay(); }, true); argument
583 boardShortcut("C2", "autoplay 1 second", function(t,e){ SetAutoplayDelayAndStart((e.shiftKey ? 10 :… argument
585 boardShortcut("D2", "autoplay 2 seconds", function(t,e){ SetAutoplayDelayAndStart((e.shiftKey ? 20 … argument
587 boardShortcut("E2", "autoplay 5 seconds", function(t,e){ SetAutoplayDelayAndStart((e.shiftKey ? 50 … argument
589 boardShortcut("F2", "autoplay custom delay", function(t,e){ setCustomAutoplayDelay(); }, true); argument
591 …up to 6 previous half-moves, then autoplay forward", function(t,e){ replayPreviousMoves(e.shiftKey… argument
593 …play the previous half-move, then autoplay forward", function(t,e){ replayPreviousMoves(e.shiftKey… argument
595 boardShortcut("A1", "go to game start", function(t,e){ startButton(e); }, true); argument
597 boardShortcut("B1", "", function(t,e){}, true); // see setB1C1F1G1... argument
599 boardShortcut("C1", "", function(t,e){}, true); // see setB1C1F1G1... argument
601 boardShortcut("D1", "move backward", function(t,e){ backButton(e); }, true); argument
603 boardShortcut("E1", "move forward", function(t,e){ forwardButton(e); }, true); argument
605 boardShortcut("F1", "", function(t,e){}, true); // see setB1C1F1G1... argument
607 boardShortcut("G1", "", function(t,e){}, true); // see setB1C1F1G1... argument
609 boardShortcut("H1", "go to game end", function(t,e){ endButton(e); }, true); argument
616 if (boardIsDefault("G7")) { boardShortcut("G7", "", function(t,e){}, true); } argument
617 …rdShortcut("A6", "pause live broadcast automatic games refresh", function(t,e){ pauseLiveBroadcast… argument
618 …Shortcut("B6", "restart live broadcast automatic games refresh", function(t,e){ restartLiveBroadca… argument
619 …6")) { boardShortcut("H6", "force live broadcast games refresh", function(t,e){ refreshPgnSource()… argument
621 …if (boardIsDefault("G7")) { boardShortcut("G7", "toggle autoplay next game", function(t,e){ SetAut… argument
622 if (boardIsDefault("A6")) { boardShortcut("A6", "", function(t,e){}, true); } argument
623 if (boardIsDefault("B6")) { boardShortcut("B6", "", function(t,e){}, true); } argument
624 if (boardIsDefault("H6")) { boardShortcut("H6", "", function(t,e){}, true); } argument
632 … { boardShortcut("B1", "find previous comment or variation", function(t,e){ if (e.shiftKey) { GoTo… argument
633 …1")) { boardShortcut("G1", "find next comment or variation", function(t,e){ if (e.shiftKey) { GoTo… argument
635 …if (boardIsDefault("B1")) { boardShortcut("B1", "move 10 half-moves backward", function(t,e){ GoTo… argument
636 …if (boardIsDefault("G1")) { boardShortcut("G1", "move 10 half-moves forward", function(t,e){ GoToM… argument
639 …if (boardIsDefault("C1")) { boardShortcut("C1", "go to parent variation", function(t,e){ if (e.shi… argument
640 …ugh alternative variations, if any, otherwise move forward", function(t,e){ if (e.shiftKey) { GoTo… argument
642 …if (boardIsDefault("C1")) { boardShortcut("C1", "move 6 half-moves backward", function(t,e){ GoToM… argument
643 …if (boardIsDefault("F1")) { boardShortcut("F1", "move 6 half-moves forward", function(t,e){ GoToMo… argument
666 var e = document.getElementsByTagName("script");
667 for (var i=0; i<e.length; i++) {
668 if ((e[i].src) && (e[i].src.match(jsre))) {
669 return e[i].src;
680 var e = document.getElementsByTagName("base");
681 for (var i=0; i<e.length; i++) {
682 if (e[i].href) { return e[i].href; }
1807 } catch(e) {
1828 } catch(e) {