From | Richard Managh |
Date | Fri, 05 Jan 2007 08:02:22 +1300 |
Subject | Re: [greenstone-users] - Maximum number of thumbnails shown per page - old books - image collection - |
In-Reply-To | (459CCE4E-7050003-ulib-sk) |
Hi Tomas, Yes, PagedImgPlug would provide you with previous and next navigation links, but still no "go to page number" functionality. It is possible to do this with javascript (i.e. without modifying greenstones c++ and/or perl code) but you might have to put javascript data structures (i.e. arrays) of book information into a macro file with the valid page ranges of each book. So it wouldn't be "automatic" in the way that PagedImgPlug provides those navigation links. You would add a "go to page number" form to macros so that it would display where you want it, and it would have to know what book it is currently working on, and the valid page numbers it can go to, with a mapping between user entered page numbers and those pages greenstone OIDs - so the javascript can send the browser to the right page. i.e. arrays containing mappings similar to the following: page -> OID 1 -> HASHecd552ed3c2d5f1f6a620f.1 2 -> HASHecd552ed3c2d5f1f6a620f.2 etc. This might be a very complex and clunky solution to implement but it is still possible i think. Richard. -- DL Consulting Greenstone Digital Library and Digitisation Specialists contact@dlconsulting.com www.dlconsulting.com
|