From 5c58dbcff6c07d9649f124874574f9c0a91b29ac Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Fri, 29 Aug 2008 14:20:36 +0000 Subject: [PATCH 1/1] outline strategy on window resize --- include/show.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/show.js b/include/show.js index 2b5264f..a5f2abd 100644 --- a/include/show.js +++ b/include/show.js @@ -30,6 +30,9 @@ - On "stop": if "playing" cancel autoswitch; break "playing". - On "start show": set up things; set "playing" state; show needed image. - On "stop show": cancel any schedules, hide things. + - On resize: recalculate existing image size and position; determine + what image is needed; if it is not the one on display then request + "show image" for the new image. */ var Show = new Class({ -- 2.39.2