From: Eugene Crosser Date: Fri, 29 Aug 2008 14:20:36 +0000 (+0000) Subject: outline strategy on window resize X-Git-Tag: 2.00~34 X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=commitdiff_plain;h=5c58dbcff6c07d9649f124874574f9c0a91b29ac;hp=b9bad7137ebc39fc083b04b3a17db5555f6b6f22;ds=sidebyside outline strategy on window resize --- 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({