comparison client/digitallibrary/modules/pdfMaker.js @ 29:c5ca5f72fb65

cleaning up a bit - more follows
author luginbue
date Thu, 21 Feb 2002 02:19:31 +0100
parents
children
comparison
equal deleted inserted replaced
28:904f2b2f0cf5 29:c5ca5f72fb65
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 }