annotate client/digitallibrary/page.js @ 16:270e1127c65f vendor

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