Commit graph

196 commits

Author SHA1 Message Date
Bala Clark
7e2a9ad486 moved ComicBook.js to lib/ 2010-07-13 16:36:35 +01:00
Bala Clark
080d0b4c51 updated comments 2010-07-13 16:29:49 +01:00
Bala Clark
9284f8bddd tweaked styles for the load status 2010-07-11 22:17:42 +01:00
Bala Clark
59bf8bcfc2 added basic styling to the loading status box 2010-07-10 17:34:27 +01:00
Bala Clark
b23a6f26b2 very basic load status indicator added 2010-07-10 17:13:13 +01:00
Bala Clark
ec89ec2816 added a full test comic 2010-07-10 14:50:51 +01:00
Bala Clark
3b27c1bfb8 scroll two pages at a time in double page mode 2010-07-10 14:35:35 +01:00
Bala Clark
48bddd7aa7 a few slight mods after jslint 2010-07-10 14:32:20 +01:00
Bala Clark
c3a0f866cc renaming scripts.js 2010-07-10 14:13:03 +01:00
Bala Clark
ca526ede6e renaming scripts.js 2010-07-10 14:12:45 +01:00
Bala Clark
385cc5adb5 renaming scripts.js 2010-07-10 14:10:29 +01:00
Bala Clark
4e3d4bb463 check if scrollbars are needed, only display them if they are 2010-07-10 14:01:39 +01:00
Bala Clark
3655c21c20 reset canvas before rendering images 2010-07-10 13:56:07 +01:00
Bala Clark
4d6651818d disable horizontal scrollbars in fitWidth mode 2010-07-10 13:49:42 +01:00
Bala Clark
4a2c42fa02 manga mode 2010-07-10 13:21:09 +01:00
Bala Clark
2df9b56d56 scroll to the top of the page when paging through 2010-07-10 12:51:12 +01:00
Bala Clark
fcec1e21e4 image preloader now only loads one image at a time 2010-07-10 12:36:17 +01:00
Bala Clark
bf3ac53ddb starting a better preload method 2010-07-09 17:05:02 +01:00
Bala Clark
5833955005 Merge branch 'master' into image-buffer 2010-07-09 16:37:18 +01:00
Bala Clark
625528ad63 a little more jslint 2010-07-09 16:36:27 +01:00
Bala Clark
3b7af74aa2 starting better image buffering 2010-07-09 16:34:27 +01:00
Bala Clark
8f859a3f80 added readme 2010-07-09 16:26:49 +01:00
Bala Clark
2dbbca3539 refactored a little after running through jslint 2010-07-09 16:22:16 +01:00
Bala Clark
b0c0016c0a another todo 2010-07-08 07:53:16 +01:00
Bala Clark
3552e27dbc added some TODOs 2010-07-08 01:09:19 +01:00
Bala Clark
f6b3824fc2 implemented vertical alignment for comics in manual mode 2010-07-08 00:56:30 +01:00
Bala Clark
e57784f1a1 fixed page height bug in manual mode 2010-07-08 00:50:55 +01:00
Bala Clark
96089515b0 implemented horizonal centering in manual zoom mode 2010-07-08 00:42:09 +01:00
Bala Clark
681469979b making body bg black to check if canvas is truely fullscreen 2010-07-08 00:41:25 +01:00
Bala Clark
d64ea3fd34 removed console.log 2010-07-08 00:01:47 +01:00
Bala Clark
c39ed3da21 added eric meyer's reset.css 2010-07-07 18:47:24 +01:00
Bala Clark
2f1739743f loads of changes, methods are now mostly assigned to the prototype (for better or worse), the constructer accepts an array of options, in fitWidth mode the comic will scale on window resize 2010-07-07 16:57:47 +01:00
Bala Clark
f3ec23e060 removed console.log 2010-07-07 13:28:14 +01:00
Bala Clark
3fc9bdce02 cleaned up the drawPage() code a little 2010-07-07 13:21:52 +01:00
Bala Clark
d87ada2ac8 zoom should now be working again 2010-07-07 13:05:10 +01:00
Bala Clark
a2db134e22 implemented double page mode, note that manual zooming is now broken :/ 2010-07-07 12:58:37 +01:00
Bala Clark
05a93a2a20 autofit zoom mode implemented 2010-07-07 11:19:21 +01:00
Bala Clark
0e3419e7b4 added method to scale the comic 2010-07-07 09:02:07 +01:00
Bala Clark
00f801d1c8 don't worry about styles for now 2010-07-07 09:00:06 +01:00
Bala Clark
8e264471b9 back to arrays... I want to use the new stuff like .reverse & .map 2010-07-06 12:06:55 +01:00
Bala Clark
6dd8b7f4bd don't need styles yet 2010-07-06 12:06:14 +01:00
Bala Clark
9714a2a8af fixed next page bug 2010-07-06 11:28:16 +01:00
Bala Clark
1acc278b78 added simple click controls, click left side to go back, right side to go forward 2010-07-06 11:15:47 +01:00
Bala Clark
21d8869ad3 changed srcs to json formating 2010-07-06 10:19:24 +01:00
Bala Clark
7422f20d52 added media to reset styles 2010-07-06 10:18:28 +01:00
Bala Clark
ab01d45ea1 initial commit, basic ComicBook class structure, image preloading, single page display (no navigation) done. 2010-07-06 09:38:00 +01:00