From ae7adad5cf4f81e9356a618bf541965ce8131527 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Tue, 10 Feb 2015 14:02:41 -0800 Subject: [PATCH] Alternate images (m2) --- test/demo/m2/README.md | 3 +- test/demo/m2/index.html | 1 + test/demo/m2/js/main.js | 62 +++++++++++++++++++++++++++++++++++++---- test/demo/m2/js/page.js | 44 +++++++++++++++++++++++++++++ 4 files changed, 103 insertions(+), 7 deletions(-) create mode 100644 test/demo/m2/js/page.js diff --git a/test/demo/m2/README.md b/test/demo/m2/README.md index 847f90c2..881cfbdb 100644 --- a/test/demo/m2/README.md +++ b/test/demo/m2/README.md @@ -10,11 +10,12 @@ http://showcase.iiif.io/viewer/mirador/ ## To Do -* Choosing between multiple versions of a page * Detail images overlaid on the page * Cropped images ### Maybe +* Alternates: align with default image +* Alternates: wait until tiles have loaded before switching * Show/hide pages? * Lazyloading tilesources? diff --git a/test/demo/m2/index.html b/test/demo/m2/index.html index e86c9a39..70c4c486 100644 --- a/test/demo/m2/index.html +++ b/test/demo/m2/index.html @@ -6,6 +6,7 @@ +