|
|
@ -28,6 +28,9 @@ var PDFView = { |
|
|
|
for (var i = 0; i < pages.length; i++) |
|
|
|
for (var i = 0; i < pages.length; i++) |
|
|
|
pages[i].update(val / 100 * cssUnits); |
|
|
|
pages[i].update(val / 100 * cssUnits); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(document.location.hash == '#' + this.page) |
|
|
|
|
|
|
|
this.pages[this.page-1].draw(); |
|
|
|
|
|
|
|
else |
|
|
|
// Jump the scroll position to the correct page.
|
|
|
|
// Jump the scroll position to the correct page.
|
|
|
|
document.location.hash = this.page; |
|
|
|
document.location.hash = this.page; |
|
|
|
|
|
|
|
|
|
|
|