1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
This commit is contained in:
Lu Wang 2013-10-07 15:25:47 +08:00
parent cbb9fc71e3
commit 464e5b3f7f
3 changed files with 6 additions and 0 deletions

2
TODO
View File

@ -1,5 +1,7 @@
key handler on $container instead of window? key handler on $container instead of window?
fix get_next/prev_page fix get_next/prev_page
change $pages to object and store indices into an array
next/prev for each Page ?
- dots issue - dots issue
- AdobeXML*.pdf - AdobeXML*.pdf

View File

@ -39,6 +39,8 @@ $css
@jquery.js @jquery.js
@pdf2htmlEX.js @pdf2htmlEX.js
# entry point # entry point
# You can override default configuration by passing an object to the constructor of Viewer
# Refer to DEFAULT_CONFIG in pdf2htmlEX.js for possible keys
""" """
<script type="text/javascript"> <script type="text/javascript">
try{ try{

View File

@ -233,6 +233,8 @@ var pdf2htmlEX = (function(){
url: url, url: url,
dataType: 'text' dataType: 'text'
}).done(function(data){ }).done(function(data){
// replace the old page with loaded data
// the loading indicator on this page should also be destroyed
_.pages[idx].$d.replaceWith(data); _.pages[idx].$d.replaceWith(data);
var $new_pf = _.$container.find('#' + CSS_CLASS_NAMES['page_frame'] + page_no_hex); var $new_pf = _.$container.find('#' + CSS_CLASS_NAMES['page_frame'] + page_no_hex);