added jstore path
[bookreader.git] / BookReaderDemo / BookReaderJSSimple.js
index baa0741..4dd476d 100644 (file)
@@ -80,8 +80,20 @@ br.getPageNum = function(index) {
 br.numLeafs = 15;
 
 // Book title and the URL used for the book title link
-br.bookTitle= 'Open Library Bookreader Presentation';
+br.bookTitle= 'Open Library BookReader Presentation';
 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();