From: Mike Taylor Date: Mon, 1 Jul 2013 21:06:39 +0000 (+0100) Subject: Rename pager div to "#mkwsPager" X-Git-Tag: 0.9.1~385 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=1961bd80ed336c551905b49914c91c8e8b62c3a8;p=mkws-moved-to-github.git Rename pager div to "#mkwsPager" --- diff --git a/experiments/spclient/html-structure.txt b/experiments/spclient/html-structure.txt index 3bc5c1d..7bca45b 100644 --- a/experiments/spclient/html-structure.txt +++ b/experiments/spclient/html-structure.txt @@ -32,7 +32,7 @@ identifier and .CLASS indicates an instance of a class. form#select select#sort select#perpage - div#pager + #mkwsPager div#navi div#results div.record* diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index acc42c8..023247b 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -113,7 +113,7 @@ function my_oninit() { function my_onshow(data) { totalRec = data.merged; // move it out - var pager = document.getElementById("pager"); + var pager = document.getElementById("mkwsPager"); pager.innerHTML = ""; pager.innerHTML +='
' + M('Displaying') + ': ' + (data.start + 1) + ' ' + M('to') + ' ' + (data.start + data.num) + @@ -555,7 +555,7 @@ function mkws_html_all(config) { ' + M('per page') + '.\ \
\ -
\ +
\ \
\ \ diff --git a/experiments/spclient/mkwsStyle.css b/experiments/spclient/mkwsStyle.css index ad76c47..fe9bd54 100644 --- a/experiments/spclient/mkwsStyle.css +++ b/experiments/spclient/mkwsStyle.css @@ -149,7 +149,7 @@ content: ":"; } -#mkwsRecords #pager { +#mkwsPager { background: #e0e0e0; padding: 0.3em; }