Style embed book title. Open links in new window.
authorMichael Ang <mang@archive.org>
Fri, 19 Nov 2010 02:26:12 +0000 (02:26 +0000)
committerMichael Ang <mang@archive.org>
Fri, 19 Nov 2010 02:26:12 +0000 (02:26 +0000)
BookReader/BookReader.js
BookReader/BookReaderEmbed.css

index 2968abb..e24a335 100644 (file)
@@ -3373,12 +3373,12 @@ BookReader.prototype.initEmbedNavbar = function() {
     $('#BookReader').append(
         '<div id="BRnav">'
         +   "<span id='BRtoolbarbuttons'>"        
+        //+         '<button class="BRicon full"></button>'
         +         '<button class="BRicon book_left"></button>'
         +         '<button class="BRicon book_right"></button>'
-        //+         '<button class="BRicon fit"></button>'
         +   "</span>"
-        +   "<span><a class='logo' href='" + this.logoURL + "'></a></span>"
-        +   "<span id='BRreturn'><a href='" + thisLink + "' target='_blank' >" + this.bookTitle + "</a></span>" // XXX escape
+        +   "<span><a class='logo' href='" + this.logoURL + "' 'target='_blank' ></a></span>"
+        +   "<span id='BRembedreturn'><a href='" + thisLink + "' target='_blank' >" + this.bookTitle + "</a></span>" // XXX escape
         + '</div>'
     );
 }
index e6f5333..89a7d7b 100644 (file)
 #BRtoolbar .title {
     font-size: 0.9em;
 }
+
+#BRembedreturn {
+    /* Center text */
+    font-size: 14px;
+    line-height: 40px;
+    height: 40px;
+    
+    font-family: "Lucida Grande","Arial",sans-serif;
+}
+
+#BRembedreturn a {
+    font-size: 14px;
+    color: #036daa;
+}
+