From: Jakub Skoczen Date: Fri, 20 Jun 2008 10:50:11 +0000 (+0200) Subject: Trying to fix IE issues. X-Git-Tag: v1.0.10~13^2~1 X-Git-Url: http://git.indexdata.com/?p=pazpar2-moved-to-github.git;a=commitdiff_plain;h=f5f791ae403eb69d3f4401209cb72e8bbd8dad21 Trying to fix IE issues. --- 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; }