From f5f791ae403eb69d3f4401209cb72e8bbd8dad21 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Fri, 20 Jun 2008 12:50:11 +0200 Subject: [PATCH] Trying to fix IE issues. --- www/jsdemo/example_client.js | 6 +++--- www/jsdemo/index.html | 34 ++++++++++++++-------------------- www/jsdemo/styles.css | 20 ++++++++++++-------- 3 files changed, 29 insertions(+), 31 deletions(-) diff --git a/www/jsdemo/example_client.js b/www/jsdemo/example_client.js index 41d01c5..6c68437 100644 --- a/www/jsdemo/example_client.js +++ b/www/jsdemo/example_client.js @@ -9,7 +9,7 @@ var usesessions = false; var pazpar2path = '/pazpar2/search.pz2'; if (document.location.hash == '#nosessions') { usesessions = false; - pazpar2path = '.'; + pazpar2path = '/pazpar2-proxy/'; } my_paz = new pz2( { "onshow": my_onshow, @@ -80,7 +80,7 @@ function my_onshow(data) { function my_onstat(data) { var stat = document.getElementById("stat"); - stat.innerHTML = 'Active clients: '+ data.activeclients + stat.innerHTML = ' -STATUS INFO- : Active clients: '+ data.activeclients + '/' + data.clients + ' | ' + 'Retrieved records: ' + data.records + '/' + data.hits + ''; @@ -362,4 +362,4 @@ function drawCurDetails () details += 'Location: ' + data["location"][0]["@name"] + " (" +data["location"][0]["@id"] + ")" + ''; recordDiv.innerHTML += '
' + details + '
'; } - //EOF \ No newline at end of file + //EOF diff --git a/www/jsdemo/index.html b/www/jsdemo/index.html index dee8f86..67fecdc 100644 --- a/www/jsdemo/index.html +++ b/www/jsdemo/index.html @@ -13,12 +13,11 @@ - - Records Browser - | - Targets Information - -

+ @@ -36,7 +35,6 @@
-
@@ -68,24 +66,20 @@
- -

- STATUS INFO: -
-
-
-
+
+
+ +
+ diff --git a/www/jsdemo/styles.css b/www/jsdemo/styles.css index 81dea91..7749e2f 100644 --- a/www/jsdemo/styles.css +++ b/www/jsdemo/styles.css @@ -9,8 +9,8 @@ body { hr { border: 0; - color: gray; - background-color: gray; + color: #156a16; + background-color: #156a16; height: 1px; } @@ -78,14 +78,18 @@ div.details { margin: 4px; } -#recordview { - background-color: #FFF8DC; +#bytarget { + padding: 7px; } -#targetview { - padding: 6px; +#stat { + color: #a3c896; +} + +#recordview { + background-color: #e0f9d6; } -#bottom { - background-color: #FBF5E6; +#targetview { + background-color: #e0f9d6; } -- 1.7.10.4