Mercurial > hg > digilib-old
view client/digitallibrary/modules/pdfMaker.js @ 53:1e80635e3f8c
13.8.2002 - [different files] : roc
- changed all hardcoded occurrences of /docuserver/digitallibrary to
work relative or take the path from the request URL. Introduced a
variable baseURL to hold the URL path (up to digilib.jsp etc.). Now
it should be possible to install digilib in other directories.
- removed xerces.jar. It seems not necessary any more (JDK 1.3.1, Tomcat 4.0.4)
author | robcast |
---|---|
date | Thu, 15 Aug 2002 23:40:15 +0200 |
parents | c5ca5f72fb65 |
children |
line wrap: on
line source
/**************************************************************************** * - sample module for digilib * * * * christian luginbuehl (luginbuehl@student.unibe.ch) * ****************************************************************************/ /** * generates a pdf-file using a perl-script called makepdf * * ATTENTION: the script and this function are only in alpha stadium */ function makePDF() { var pages = prompt("Enter the pages you like to make a PDF of:", att[1]); if (pages != null && pages != "") { top.location = "http://penelope.unibe.ch/cgi-bin/cgiwrap/luginbul/makepdf.cgi?dir=" + att[0] + "&pages=" + pages; } }