From ae2e813a1722084a063e90873c03ede549c82dc5 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Fri, 20 Jun 2008 13:42:22 +0200 Subject: [PATCH] IE issues cont. --- www/jsdemo/example_client.js | 9 ++--- www/jsdemo/index.html | 80 ++++++++++++++++++++++-------------------- www/jsdemo/styles.css | 29 ++++++++++----- 3 files changed, 67 insertions(+), 51 deletions(-) diff --git a/www/jsdemo/example_client.js b/www/jsdemo/example_client.js index 6c68437..6233537 100644 --- a/www/jsdemo/example_client.js +++ b/www/jsdemo/example_client.js @@ -5,7 +5,7 @@ // create a parameters array and pass it to the pz2's constructor // then register the form submit event with the pz2.search function // autoInit is set to true on default -var usesessions = false; +var usesessions = true; var pazpar2path = '/pazpar2/search.pz2'; if (document.location.hash == '#nosessions') { usesessions = false; @@ -80,10 +80,11 @@ function my_onshow(data) { function my_onstat(data) { var stat = document.getElementById("stat"); - stat.innerHTML = ' -STATUS INFO- : Active clients: '+ data.activeclients - + '/' + data.clients + ' | ' + stat.innerHTML = ' .:STATUS INFO -- Active clients: ' + + data.activeclients + + '/' + data.clients + ' -- ' + 'Retrieved records: ' + data.records - + '/' + data.hits + ''; + + '/' + data.hits + ' :.'; } function my_onterm(data) { diff --git a/www/jsdemo/index.html b/www/jsdemo/index.html index 67fecdc..fb69c23 100644 --- a/www/jsdemo/index.html +++ b/www/jsdemo/index.html @@ -8,31 +8,35 @@ Pazpar2 demo client - + +
Record Browser | Target Info
- - - - - - - -
Pazpar2 -
- - -
-
- -
+ +
+
+ + + + + + +
PAZPAR2 +
+ + +
+
+ +
+
@@ -41,24 +45,24 @@
-
-
- Sort by - - and show - - per page. -
+
+
+ Sort by + + and show + + per page. +
@@ -75,11 +79,11 @@

- -
-
-
+ diff --git a/www/jsdemo/styles.css b/www/jsdemo/styles.css index 7749e2f..6fb4652 100644 --- a/www/jsdemo/styles.css +++ b/www/jsdemo/styles.css @@ -5,6 +5,7 @@ html { body { font-family: tahoma, arial, sans-serif; font-size: small; + color: #156a16; } hr { @@ -19,7 +20,7 @@ thead { } a { - color: black; + color: #005701; text-decoration: none; } @@ -45,8 +46,8 @@ a.crossout:hover { } input#button { - border: 3px groove #3171f2; - background-color: #6b9bfd; + border: 3px outset #132194; + background-color: #132194; padding: 2px; width: 6em; color: #FFFFFF; @@ -78,12 +79,9 @@ div.details { margin: 4px; } -#bytarget { - padding: 7px; -} - -#stat { - color: #a3c896; +#switchmenu { + padding-bottom: 4px; + text-align: right; } #recordview { @@ -93,3 +91,16 @@ div.details { #targetview { background-color: #e0f9d6; } + +#bytarget { + padding: 7px; +} + +#footer { + color: #74c775; + text-align: center; +} + +#stat { + font-weight: bold; +} -- 1.7.10.4