annotate client/digitallibrary/page.js @ 101:ef7ccc290d9a vendor

XUL Digilib Buttons in chrome
author engler
date Tue, 13 May 2003 20:59:47 +0200
parents 58cddc46cf55
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 }