1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-08 19:00:33 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
Lu Wang
cbb9fc71e3 fix 2013-10-06 19:57:44 +08:00
Lu Wang
c7e6c52f3c add navigation key handler 2013-10-06 19:53:37 +08:00
Lu Wang
b563a59fa7 move some configurable variable of pdf2htmlEX.Viewer outside 2013-10-05 16:26:24 +08:00
Lu Wang
ee6a649582 fix id names 2013-10-05 16:20:28 +08:00
Lu Wang
01188c8ac7 [js]add a default config object 2013-10-05 16:11:03 +08:00
Lu Wang
22cb315b99 clean pdf2htmlEX.js 2013-09-30 15:50:15 +08:00
Lu Wang
23c4c4d4fe Merge pull request #186 from micred/reactivezoom
yet another zoom
2013-09-30 00:12:52 -07:00
Lu Wang
2c8224ce78 move @keyframe outside @media for IE; add loading indicator while loading 2013-09-28 13:20:45 +08:00
Lu Wang
e36c33b075 working on indicator 2013-09-28 11:58:01 +08:00
Michele Redolfi
6abc16fb53 NR_PAGES_TO_PRERENDER_ON_ZOOM is now called SMOOTH_ZOOM_THRESHOLD 2013-08-13 11:33:06 +02:00
Lu Wang
a124926862 typo 2013-08-09 06:53:44 +08:00
Lu Wang
b6f5855533 typo 2013-08-09 06:52:07 +08:00
Michele Redolfi
ed1df3b470 clean up 2013-07-17 09:47:13 +02:00
Michele Redolfi
ea1878e233 caching of height / width; rendering optimizations while zooming 2013-07-16 20:19:25 +02:00
Michele Redolfi
43c330f9b7 basic zoom 0.1 2013-07-16 17:42:02 +02:00
Daniel Bonniot
b78cdd0a9d Use scrollHeight to find out how to scroll to the end for ctrl-end.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-14 16:34:02 +02:00
Daniel Bonniot
08ba884b7f Simplify the implementation of ctrl-home, we don't need to care about pages in this case.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-03 22:16:41 +02:00
Daniel Bonniot
972c92540e Use return in the non-handled key cases, and call preventDefault() in a single place, as suggested.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-03 22:02:59 +02:00
Daniel Bonniot
4bde91423d https://github.com/coolwanglu/pdf2htmlEX/issues/180
Scroll pages with alt-page up/down, not page up/down.

Implement screen scrolling for page up/down.

Fix comment about which key is up (code was right, but comments were inverted :D)
2013-07-03 12:16:32 +02:00
Daniel Bonniot
d9bd8106fe https://github.com/coolwanglu/pdf2htmlEX/issues/180
Call e.preventDefault() when the key was handled.
2013-07-03 11:27:12 +02:00
Daniel Bonniot
40dc097ebd https://github.com/coolwanglu/pdf2htmlEX/issues/180
Better name for the key handler.
2013-07-03 11:22:42 +02:00
Daniel Bonniot
316d547ac0 https://github.com/coolwanglu/pdf2htmlEX/issues/180
Add key handler, and implement page up, page down, ctrl-home and ctrl-end.

First commit on github and first javascript coding :)
2013-07-03 09:57:00 +02:00
Lu Wang
b71efb7f4e fix .data() 2013-06-13 23:08:47 +08:00
Lu Wang
3b3efb6845 add dollar sign for jquery objects 2013-06-13 23:00:42 +08:00
Michele Redolfi
25a3273bac event triggering removed 2013-06-13 14:40:50 +02:00
Michele Redolfi
51dd4fdecd load_page idx now starts from 1; pages_loading move to Viewer instance; fixes; pdf2htmlEX.js.in executable bit removed; 2013-06-13 12:39:52 +02:00
Michele Redolfi
d5ade42d5a lazy load with deferrered scroll_to 2013-06-12 17:53:14 +02:00
Lu Wang
c4757c7fae strict mode in js 2013-05-30 02:31:48 +08:00
Lu Wang
7c12b228c2 disable dragging on background images 2013-05-06 19:53:56 +08:00
Lu Wang
83b25c091b pdf2htmlEX.js: reveal prev and next page for a better reading experience 2013-05-02 16:45:00 +08:00
Lu Wang
11f3bb715e changelog 2013-05-02 16:25:39 +08:00
Lu Wang
64279bd26d --page-filename; a default HTML when --split-pages is on; Fixes #125 2013-05-02 16:09:42 +08:00
Lu Wang
ca69f28a4f UI tweaking; --remove-unused-glyph is off by default 2013-05-01 20:01:24 +08:00
Lu Wang
d4d85eac15 fancy css 2013-05-01 17:14:29 +08:00
Lu Wang
13873d990f .. 2013-03-31 17:41:38 +08:00
Lu Wang
3ed576b5c8 disable backgruond image selection and dragging 2013-03-01 14:02:11 +08:00
Lu Wang
80fc92defe fix css 2013-02-28 02:52:00 +08:00
Lu Wang
c6630561e6 fix css 2013-02-28 02:17:33 +08:00
Lu Wang
eb0a1ef8a3 consistent css class names 2013-02-28 02:11:34 +08:00