Add bookspine stuff
authorLance Arthur <lance.arthur@archive.org>
Wed, 10 Nov 2010 19:25:44 +0000 (11:25 -0800)
committerLance Arthur <lance.arthur@archive.org>
Wed, 10 Nov 2010 19:25:44 +0000 (11:25 -0800)
BookReader/BookReader.css
BookReader/BookReader.js
BookReader/images/booksplit.png

index 9265d49..7c85fe7 100644 (file)
@@ -156,8 +156,9 @@ a {
 
 #BRbookspine {    
     /* border: 1px solid rgb(68, 25, 17); */
 
 #BRbookspine {    
     /* border: 1px solid rgb(68, 25, 17); */
-    background-color: rgb(68, 25, 17);
     position: absolute;
     position: absolute;
+    z-index: 6;
+    background: transparent url(images/booksplit.png) repeat scroll 0% 0%;
 }
 
 .BookReaderSearchHilite {
 }
 
 .BookReaderSearchHilite {
index f2cc8a8..70fc927 100644 (file)
@@ -119,7 +119,7 @@ function BookReader() {
     this.twoPage = {
         coverInternalPadding: 0, // Width of cover
         coverExternalPadding: 0, // Padding outside of cover
     this.twoPage = {
         coverInternalPadding: 0, // Width of cover
         coverExternalPadding: 0, // Padding outside of cover
-        bookSpineDivWidth: 0,    // Width of book spine  $$$ consider sizing based on book length
+        bookSpineDivWidth: 64,    // Width of book spine  $$$ consider sizing based on book length
         autofit: 'auto'
     };
     
         autofit: 'auto'
     };
     
index b8a5067..c9bb254 100644 (file)
Binary files a/BookReader/images/booksplit.png and b/BookReader/images/booksplit.png differ