// $$$ cover looks weird before it loads
jInfoDiv.find('.BRfloatCover').append([
- '<a href="', this.bookUrl, '"><img src="http://www.archive.org/download/', this.bookId, '/page/cover_t.jpg" alt="', escapedTitle, '" height="140" /></a>'].join('')
+ '<a href="', this.bookUrl, '"><img src="http://www.archive.org/download/', this.bookId, '/page/cover_t.jpg" alt="' + escapedTitle + '" height="140" /></a>'].join('')
);
jInfoDiv.find('.BRfloatMeta').append([
'<p class="moreInfo"><span></span>More information on <a href="'+ this.bookUrl + '">' + domain + '</a> </p>'].join('\n'));
jInfoDiv.find('.BRfloatFoot').append([
- // XXX add link to bug tracker
+ '<span>|</span>',
'<a href="http://openlibrary.org/contact" class="problem">Report a problem</a>',
- '<span>|</span>',
- '<a href="http://openlibrary.org/dev/docs/bookreader">About the Bookreader</a>'].join('\n'));
+ ].join('\n'));
if (domain == 'archive.org') {
jInfoDiv.find('.BRfloatMeta p.moreInfo span').css(
br.reduce = brConfig['reduce'];
}
} else if (brConfig['mode'] == 2) {
- br.mode = 2;
-
-<?
- //$$$mang hack to override request for 2up for books with attribution page
- // as first page until we can display that page in 2up
- $needle = 'goog';
- if (strrpos($id, $needle) === strlen($id)-strlen($needle)) {
- print "// override for books with attribution page\n";
- print "br.mode = 1;\n";
- }
-?>
+ br.mode = 2;
}
} // brConfig