X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=include%2Fshow.js;h=a5f2abd5ddea8a5ac0e09e70f800416f76a767b3;hp=2b5264f4be9d54bf460adc16f45bb6bd2844b612;hb=5c58dbcff6c07d9649f124874574f9c0a91b29ac;hpb=b9bad7137ebc39fc083b04b3a17db5555f6b6f22;ds=sidebyside 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({