Skip to content

Commit

Permalink
Style embed book title. Open links in new window.
Browse files Browse the repository at this point in the history
  • Loading branch information
mangtronix committed Nov 19, 2010
1 parent fcd00bd commit 7e8fbae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BookReader/BookReader.js
Expand Up @@ -3373,12 +3373,12 @@ BookReader.prototype.initEmbedNavbar = function() {
$('#BookReader').append( $('#BookReader').append(
'<div id="BRnav">' '<div id="BRnav">'
+ "<span id='BRtoolbarbuttons'>" + "<span id='BRtoolbarbuttons'>"
//+ '<button class="BRicon full"></button>'
+ '<button class="BRicon book_left"></button>' + '<button class="BRicon book_left"></button>'
+ '<button class="BRicon book_right"></button>' + '<button class="BRicon book_right"></button>'
//+ '<button class="BRicon fit"></button>'
+ "</span>" + "</span>"
+ "<span><a class='logo' href='" + this.logoURL + "'></a></span>" + "<span><a class='logo' href='" + this.logoURL + "' 'target='_blank' ></a></span>"
+ "<span id='BRreturn'><a href='" + thisLink + "' target='_blank' >" + this.bookTitle + "</a></span>" // XXX escape + "<span id='BRembedreturn'><a href='" + thisLink + "' target='_blank' >" + this.bookTitle + "</a></span>" // XXX escape
+ '</div>' + '</div>'
); );
} }
Expand Down
15 changes: 15 additions & 0 deletions BookReader/BookReaderEmbed.css
Expand Up @@ -12,3 +12,18 @@
#BRtoolbar .title { #BRtoolbar .title {
font-size: 0.9em; 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.