annotate client/digitallibrary/modules/pdfMaker.js @ 164:f743c238d2e5
Servlet Version 1.16b2 with new DigilibParameter code.
- more generic class for request parameters
- like already done for DiglibConfig
- changes in JSPs for new request stuff
- changes in ImageSize class so size=0 is "wildcard"
- missing dw and dh parameters now treated as wildcards
- changed package name in imageinfo class
author |
robcast |
date |
Wed, 29 Oct 2003 22:45:51 +0100 |
parents |
c5ca5f72fb65 |
children |
|
rev |
line source |
29
|
1 /****************************************************************************
|
|
2 * - sample module for digilib *
|
|
3 * *
|
|
4 * christian luginbuehl (luginbuehl@student.unibe.ch) *
|
|
5 ****************************************************************************/
|
|
6
|
|
7 /**
|
|
8 * generates a pdf-file using a perl-script called makepdf
|
|
9 *
|
|
10 * ATTENTION: the script and this function are only in alpha stadium
|
|
11 */
|
|
12 function makePDF() {
|
|
13 var pages = prompt("Enter the pages you like to make a PDF of:", att[1]);
|
|
14 if (pages != null && pages != "") {
|
|
15 top.location = "http://penelope.unibe.ch/cgi-bin/cgiwrap/luginbul/makepdf.cgi?dir=" + att[0] + "&pages=" + pages;
|
|
16 }
|
|
17 }
|