font-size: 14px;
background-color: rgb(255, 255, 238);
opacity: 0.85;
-}
\ No newline at end of file
+}
+
+.BRttsPopUp {
+ position: absolute;
+ background-color: #E6E4E1;
+ background-image: url(images/progressbar.gif);
+ background-repeat:no-repeat;
+ font-size: 0.8em;
+ z-index: 3;
+}
this.popup = document.createElement("div");
$(this.popup).css({
position: 'absolute',
- top: '20%',
- left: ($('#BRcontainer').attr('clientWidth')-600)/2 + 'px',
- width: '600px',
- padding: "20px",
- border: "3px double #999999",
+ top: $('#BRtoolbar').height() + 'px',
+ left: $('.read_aloud').position().left + 'px',
+ width: $('#BRtoolbar').width()-$('.read_aloud').position().left + 'px',
+ height: '20px',
zIndex: 3,
- backgroundColor: "#f00",
- color: "#fff",
- fontSize: '1.875em'
- }).appendTo('#BookReader');
+ backgroundColor: '#E6E4E1',
+ fontSize: '0.8em',
+ background: 'images/progressbar.gif'
+ }).attr('className', 'BRttsPopUp').appendTo('#BookReader');
- htmlStr = '<p style="text-align:center;"><b>Ever wanted to wait while audio loads?</b><br/>';
- htmlStr += "It's OK. We all do.</p>";
+ htmlStr = ' ';
this.popup.innerHTML = htmlStr;
}
// manually update with Launchpad version number at each checkin so that browsers
// do not use old cached version
// see https://bugs.launchpad.net/gnubook/+bug/330748
- $version = "imageurls";
+ $version = "readaloud";
if (BookReader::getDevHost($server)) {
// on dev host - add time to force reload