From: scollett Date: Mon, 12 Oct 2009 20:15:52 +0000 (-0700) Subject: Added icon toggle button for thumbnail mode X-Git-Url: http://git.rot13.org/?p=bookreader.git;a=commitdiff_plain;h=082d052f88b87ff7f14b5ca2f484e3e8c757d99d Added icon toggle button for thumbnail mode --- diff --git a/GnuBook/GnuBook.css b/GnuBook/GnuBook.css index b1deebb..9f0e06a 100644 --- a/GnuBook/GnuBook.css +++ b/GnuBook/GnuBook.css @@ -91,6 +91,7 @@ .GBicon.zoom_in { background: url(images/zoom_in_icon.png) no-repeat; } .GBicon.one_page_mode { background: url(images/one_page_mode_icon.png) no-repeat; } .GBicon.two_page_mode { background: url(images/two_page_mode_icon.png) no-repeat; } +.GBicon.thumbnail_mode { background: url(images/thumbnail_mode_icon.png) no-repeat; } .GBicon.embed { background: url(images/embed_icon.png) no-repeat; } .GBicon.book_left { background: url(images/book_left_icon.png) no-repeat; } .GBicon.book_right { background: url(images/book_right_icon.png) no-repeat; } diff --git a/GnuBook/GnuBook.js b/GnuBook/GnuBook.js index 3d48ce9..e55d997 100644 --- a/GnuBook/GnuBook.js +++ b/GnuBook/GnuBook.js @@ -2780,6 +2780,7 @@ GnuBook.prototype.initToolbar = function(mode, ui) { + " Zoom: "+parseInt(100/this.reduce)+"" + "