From f5d0c8cdccb846ec20175d7423e88c224265e50c Mon Sep 17 00:00:00 2001 From: Michael Ang Date: Thu, 30 Sep 2010 19:49:32 +0000 Subject: [PATCH 1/1] Add missing , --- BookReader/BookReader.js | 2 +- BookReaderIA/inc/BookReader.inc | 242 ++++++++++++++++++++++++++++++-- 2 files changed, 232 insertions(+), 12 deletions(-) diff --git a/BookReader/BookReader.js b/BookReader/BookReader.js index 4005272..2e78081 100644 --- a/BookReader/BookReader.js +++ b/BookReader/BookReader.js @@ -1537,7 +1537,7 @@ BookReader.prototype.prepareTwoPagePopUp = function() { this.twoPagePopUp = document.createElement('div'); this.twoPagePopUp.className = 'BRtwoPagePopUp'; $(this.twoPagePopUp).css({ - zIndex: '1000' + zIndex: '1000', // XXXmang move to CSS padding: '6px', position: 'absolute', diff --git a/BookReaderIA/inc/BookReader.inc b/BookReaderIA/inc/BookReader.inc index 9cff29d..809c146 100644 --- a/BookReaderIA/inc/BookReader.inc +++ b/BookReaderIA/inc/BookReader.inc @@ -1,11 +1,13 @@ "> - + + + + + - -
Internet Archive BookReader
- -
Internet Archive Bookreader
- + +//
Internet Archive BookReader
+// +//
Internet Archive Bookreader
+// +*/ +?> + +
Internet Archive BookReader
+ + +
+
+
+
+ + + + + + + +
+
I. The Minotaur | Page 1
+
+ +
+
II. The Griffon | Page 44
+
+ +
+
III. The Firedrake | Page 129
+
+ +
+
V. The Pegasus | Page 201
+
+ +
+
VI. The Goblin | Page 255
+
+ +
+
+ A related distinction is between the emotion and the results of the emotion, principally behaviors and emotional expressions. People often behave in certain ways as a direct result of their emotional state, such as crying, fighting or fleeing. Page 163 +
IV. The Witch | Page 163
+
+
+ +
+
- +

@@ -186,6 +383,29 @@ class BookReader $(document).ready(function() { $(window).trigger('resize'); }); + + //XXXmang + function hideFace() { + $('#BookReader').die('mousemove').live('mousemove',function(event) { + var toolpos = $('#BRtoolbar').offset(); + var tooltop = toolpos.top; + var navkey = $(document).height() - 75; + if ((event.pageY < 76) || (event.pageY > navkey)) { + if (tooltop == -60) { + $('#BRtoolbar').animate({top:'0'}); + $('#BRnav').animate({bottom:'0'}); + }; + } else if ($('.bt-wrapper').size() == 0) { + if (tooltop == 0) { + $('#BRtoolbar').animate({top:'-60'}); + $('#BRnav').animate({bottom:'-60'}); + } + }; + }); + }; + window.onload = function() { + window.setTimeout(hideFace, 3000); + };