Mercurial > hg > digilib-old
annotate client/digitallibrary/oldskin/pageWin.html @ 343:d4c302cdeed1
small fix for getParameter before setup (hopefully)
author | robcast |
---|---|
date | Wed, 23 Feb 2005 17:53:20 +0100 |
parents | ccddc9a5b63b |
children |
rev | line source |
---|---|
315 | 1 <html> |
2 <head> | |
3 <script type="text/javascript"> | |
4 var pn = "-"; | |
5 var pt = "-"; | |
6 if ((parent.mainFrame.getParameter)&&(parent.mainFrame.getParameter("pn"))) { | |
7 pt = parent.mainFrame.getParameter("pt"); | |
8 pn = parent.mainFrame.getParameter("pn"); | |
322
ccddc9a5b63b
fixed small problem with page numbers for slow loading pages
robcast
parents:
315
diff
changeset
|
9 } else { |
ccddc9a5b63b
fixed small problem with page numbers for slow loading pages
robcast
parents:
315
diff
changeset
|
10 // if the mainFrame is not ready then wait |
ccddc9a5b63b
fixed small problem with page numbers for slow loading pages
robcast
parents:
315
diff
changeset
|
11 setTimeout("show()", 500); |
315 | 12 } |
13 | |
14 function show() { | |
15 location.reload(); | |
16 } | |
17 </script> | |
18 </head> | |
19 <body bgcolor="#CCCCCC" topmargin="5" marginheight="5"> | |
20 <p style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; color: #CC3333; font-size: 11px"> | |
21 <script type="text/javascript">document.write(pn+'<b> of </b>'+pt);</script> | |
22 </p> | |
23 </body> | |
24 </html> |