Mercurial > hg > digilib-old
comparison client/digitallibrary/modules/pdfMaker.js @ 107:85126da2ae21 vendor start
XUL: Digilib Buttons in chrome
author | engler |
---|---|
date | Tue, 13 May 2003 21:02:22 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
105:ecee3ff2f4d0 | 107:85126da2ae21 |
---|---|
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 } |