More PDFs
This commit is contained in:
parent
b07dc9366e
commit
b60e988aba
4 changed files with 330 additions and 2 deletions
|
|
@ -76,8 +76,10 @@
|
|||
e = document.getElementById('returnPath');
|
||||
if (e) e.textContent = sReturnPath;
|
||||
}
|
||||
i = pdf.indexOf("%20");
|
||||
i = pdf.indexOf('%20');
|
||||
if (i < 0) i = pdf.indexOf(' ');
|
||||
if (i > 0) pdf = pdf.substr(0, i);
|
||||
pdf = pdf.replace('/static/', '/');
|
||||
var setPage = function(page) {
|
||||
frame.setAttribute('src', 'http://static.pcjs.org' + pdf + ' ' + curPage + '.pdf');
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue