From 86deaa0eb982d8b7173df12b084e45c0e26ee391 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 May 2008 06:36:54 +0100 Subject: [PATCH] add fade-in to shortcut help overlay --- prefs.js | 3 ++- prefs.php | 2 +- tt-rss.js | 6 ++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/prefs.js b/prefs.js index 58d83f05..6889b7a6 100644 --- a/prefs.js +++ b/prefs.js @@ -1754,7 +1754,8 @@ function pref_hotkey_handler(e) { if (keycode == 191 && shift_key) { // ? if (!Element.visible("hotkey_help_overlay")) { - Element.show("hotkey_help_overlay"); + //Element.show("hotkey_help_overlay"); + Effect.Appear("hotkey_help_overlay", {duration : 0.3}); } else { Element.hide("hotkey_help_overlay"); } diff --git a/prefs.php b/prefs.php index 01a73169..288a5f2b 100644 --- a/prefs.php +++ b/prefs.php @@ -110,7 +110,7 @@ window.onload = init; -->
- ? Keyboard shortcuts + ? Keyboard shortcuts
 
diff --git a/tt-rss.js b/tt-rss.js index f6d60327..dd148b3d 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -530,7 +530,8 @@ function quickMenuGo(opid) { } if (opid == "qmcHKhelp") { - Element.show("hotkey_help_overlay"); + //Element.show("hotkey_help_overlay"); + Effect.Appear("hotkey_help_overlay", {duration : 0.3}); } } catch (e) { @@ -973,7 +974,8 @@ function hotkey_handler(e) { if (keycode == 191 && shift_key) { // ? if (!Element.visible("hotkey_help_overlay")) { - Element.show("hotkey_help_overlay"); + //Element.show("hotkey_help_overlay"); + Effect.Appear("hotkey_help_overlay", {duration : 0.3}); } else { Element.hide("hotkey_help_overlay"); } -- 2.39.5