annotate client/digitallibrary/page.js @ 5:58cddc46cf55 vendor

First import of client module
author robcast
date Thu, 17 Jan 2002 15:29:52 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
1 function pageInfo() {
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
2
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
3 // bug in netscape 4.xx (confunding px and pt)
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
4 var fontsize = document.layers ? "11pt" : "11px";
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
5
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
6 if (pageFrame) {
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
7 pageFrame.document.open();
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
8 pageFrame.document.write('<html><head></head><body bgcolor="#CCCCCC" topmargin="5" marginheight="5">');
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
9 pageFrame.document.write('<p style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; color: #CC3333; font-size: ' + fontsize + '">');
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
10 pageFrame.document.write(att[1] + '<b> of </b>' + numPages + '</p></body></html>');
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
11 pageFrame.document.close();
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
12 }
58cddc46cf55 First import of client module
robcast
parents:
diff changeset
13 }