Permalink
Browse files

Style embed book title. Open links in new window.

  • Loading branch information...
1 parent fcd00bd commit 7e8fbae6fc6f0c25c4b6ab185a2c6a0a98323e21 @mangtronix mangtronix committed Nov 19, 2010
Showing with 18 additions and 3 deletions.
  1. +3 −3 BookReader/BookReader.js
  2. +15 −0 BookReader/BookReaderEmbed.css
View
6 BookReader/BookReader.js
@@ -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>'
);
}
View
15 BookReader/BookReaderEmbed.css
@@ -12,3 +12,18 @@
#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;
+}
+

0 comments on commit 7e8fbae

Please sign in to comment.