From bf35166d1ba14fc9d826b4bc947ff99f818740d2 Mon Sep 17 00:00:00 2001 From: rajbot Date: Fri, 10 Dec 2010 00:15:42 +0000 Subject: [PATCH] update standalone demo with newui changes --- BookReaderDemo/BookReaderJSSimple.js | 9 +++++ BookReaderDemo/index.html | 49 +++++++++++++--------------- 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/BookReaderDemo/BookReaderJSSimple.js b/BookReaderDemo/BookReaderJSSimple.js index fe3219a..4dd476d 100644 --- a/BookReaderDemo/BookReaderJSSimple.js +++ b/BookReaderDemo/BookReaderJSSimple.js @@ -86,5 +86,14 @@ br.bookUrl = 'http://openlibrary.org'; // Override the path used to find UI images br.imagesBaseURL = '../BookReader/images/'; +br.getEmbedCode = function(frameWidth, frameHeight, viewParams) { + return "Embed code not supported in bookreader demo."; +} + // Let's go! br.init(); + +// read-aloud and search need backend compenents and are not supported in the demo +$('#BRtoolbar').find('.read').hide(); +$('#textSrch').hide(); +$('#btnSrch').hide(); diff --git a/BookReaderDemo/index.html b/BookReaderDemo/index.html index 12932fe..87037a8 100644 --- a/BookReaderDemo/index.html +++ b/BookReaderDemo/index.html @@ -4,36 +4,33 @@ bookreader demo - + - - - - - - - - + -
x
- + + -
- - + + + + + + + + + +
+ Internet Archive BookReader Demo
+ +
+ + -- 2.20.1