mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-10-06 12:01:39 +00:00
..
This commit is contained in:
parent
aba9aa9cdd
commit
cc92150784
@ -51,18 +51,18 @@ const std::string HTML_HEAD = "<!DOCTYPE html>\n\
|
|||||||
<script type=\"text/javascript\">\
|
<script type=\"text/javascript\">\
|
||||||
function show_pages()\
|
function show_pages()\
|
||||||
{\
|
{\
|
||||||
var pages = document.getElementById('pdf-main').childNodes;\
|
var pages = document.getElementById('pdf-main').childNodes;\
|
||||||
var idx = 0;\
|
var idx = 0;\
|
||||||
var f = function(){\
|
var f = function(){\
|
||||||
if (idx < pages.length) {\
|
if (idx < pages.length) {\
|
||||||
try{\
|
try{\
|
||||||
pages[idx].style.display='block';\
|
pages[idx].style.display='block';\
|
||||||
}catch(e){}\
|
}catch(e){}\
|
||||||
++idx;\
|
++idx;\
|
||||||
setTimeout(f,100);\
|
setTimeout(f,100);\
|
||||||
}\
|
}\
|
||||||
};\
|
};\
|
||||||
f();\
|
f();\
|
||||||
};\
|
};\
|
||||||
</script>\
|
</script>\
|
||||||
</head><body onload=\"show_pages();\"><div id=\"pdf-main\">";
|
</head><body onload=\"show_pages();\"><div id=\"pdf-main\">";
|
||||||
|
Loading…
Reference in New Issue
Block a user