annotate client/digitallibrary/page.js @ 26:c4a571313422
vendor
First import of config module
author |
robcast |
date |
Thu, 17 Jan 2002 18:41:36 +0100 |
parents |
36ab237acba4 |
children |
|
rev |
line source |
8
|
1 function pageInfo() {
|
|
2
|
|
3 // bug in netscape 4.xx (confunding px and pt)
|
|
4 var fontsize = document.layers ? "11pt" : "11px";
|
|
5
|
|
6 if (pageFrame) {
|
|
7 pageFrame.document.open();
|
|
8 pageFrame.document.write('<html><head></head><body bgcolor="#CCCCCC" topmargin="5" marginheight="5">');
|
|
9 pageFrame.document.write('<p style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; color: #CC3333; font-size: ' + fontsize + '">');
|
|
10 pageFrame.document.write(att[1] + '<b> of </b>' + numPages + '</p></body></html>');
|
|
11 pageFrame.document.close();
|
|
12 }
|
|
13 }
|